Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 92.22 kB / 20.2 MB, free: 4.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 165.7 kB / 23.51 MB, free: 1.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2204/0.2204, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 346.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.438e-05, allocations: 2.312 kB / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.002157/0.002191, allocations: 0.4986 MB / 347.4 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.003019, allocations: 265 kB / 347.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.003048, allocations: 4 kB / 347.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.003061, allocations: 0 / 347.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-06/0.003067, allocations: 0 / 347.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.003511, allocations: 47.77 kB / 347.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.003565, allocations: 0 / 347.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.0036, allocations: 0 / 347.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.003631, allocations: 4 kB / 347.7 MB, free: 9.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.003666, allocations: 3.984 kB / 347.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.003678, allocations: 0 / 347.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.003858, allocations: 67.88 kB / 347.8 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.003867, allocations: 0 / 347.8 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.003898, allocations: 4 kB / 347.8 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.004069, allocations: 71.69 kB / 347.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004071, allocations: 0 / 347.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004072, allocations: 0 / 347.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.004077, allocations: 0 / 347.9 MB, free: 8.891 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002923/0.004369, allocations: 284 kB / 348.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.00441, allocations: 12.03 kB / 348.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.004464, allocations: 0.9375 kB / 348.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.8e-05/0.004522, allocations: 101.8 kB / 348.2 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.004538, allocations: 384 / 348.2 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.004548, allocations: 4.375 kB / 348.2 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.004641, allocations: 59.95 kB / 348.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004652, allocations: 192 / 348.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.00466, allocations: 4.375 kB / 348.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.004665, allocations: 384 / 348.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.004695, allocations: 33.58 kB / 348.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.774e-05/0.004793, allocations: 105.3 kB / 348.4 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.004847, allocations: 44.27 kB / 348.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.004868, allocations: 38.66 kB / 348.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.004881, allocations: 3.984 kB / 348.5 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.004914, allocations: 56.27 kB / 348.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.004915, allocations: 4 kB / 348.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002413/0.005157, allocations: 122.7 kB / 348.7 MB, free: 7.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.005189, allocations: 81.11 kB / 348.8 MB, free: 7.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.256e-05/0.005211, allocations: 89.86 kB / 348.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.00522, allocations: 25.7 kB / 348.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.166e-05/0.005231, allocations: 80.14 kB / 349 MB, free: 7.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.00525, allocations: 0 / 349 MB, free: 7.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.005286, allocations: 13.72 kB / 349 MB, free: 7.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.005335, allocations: 318.8 kB / 349.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.005356, allocations: 25.7 kB / 349.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.005374, allocations: 37.81 kB / 349.4 MB, free: 7.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.005428, allocations: 60.27 kB / 349.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00543, allocations: 0 / 349.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.397e-05/0.005524, allocations: 93.05 kB / 349.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.005552, allocations: 33.69 kB / 349.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.005558, allocations: 0 / 349.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.005582, allocations: 0 / 349.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.005583, allocations: 0 / 349.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.005589, allocations: 0 / 349.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.005613, allocations: 8.031 kB / 349.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.005621, allocations: 4 kB / 349.6 MB, free: 6.902 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.005686, allocations: 131.5 kB / 349.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.005702, allocations: 4 kB / 349.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.005715, allocations: 3 kB / 349.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005717, allocations: 0 / 349.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.005723, allocations: 4 kB / 349.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005727, allocations: 3.984 kB / 349.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.74e-05/0.005785, allocations: 101.3 kB / 349.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005786, allocations: 0 / 349.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.005787, allocations: 0 / 349.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005789, allocations: 4 kB / 349.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.005799, allocations: 7.938 kB / 349.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0058, allocations: 0 / 349.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.005812, allocations: 7.938 kB / 349.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.005925, allocations: 120.4 kB / 349.9 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.005933, allocations: 4 kB / 349.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.005949, allocations: 0 / 349.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.005966, allocations: 4 kB / 350 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.005986, allocations: 0 / 350 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.005991, allocations: 0 / 350 MB, free: 6.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.006004, allocations: 79.31 kB / 350 MB, free: 6.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.006004, allocations: 0 / 350 MB, free: 6.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.00639, allocations: 23.92 kB / 350.1 MB, free: 6.336 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.007426, allocations: 293.3 kB / 350.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.007539, allocations: 122.7 kB / 350.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.007541, allocations: 0 / 350.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.007575, allocations: 77.11 kB / 350.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.0078, allocations: 8 kB / 350.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.008008, allocations: 100 kB / 350.6 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.008042, allocations: 59.34 kB / 350.7 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.081e-06/0.008048, allocations: 0 / 350.7 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.008062, allocations: 8.5 kB / 350.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008063, allocations: 0 / 350.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of Templates: time 0.005319/0.01338, allocations: 0.8343 MB / 351.5 MB, free: 4.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.728864726028405]