Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.001594/0.001594, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001882/0.001882, allocations: 218.1 kB / 22.99 MB, free: 4.977 MB / 14.72 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.733/1.733, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 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.2515/0.2515, allocations: 44.28 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 67.91 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1374, allocations: 61.04 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003223/0.1406, allocations: 1.554 MB / 0.5181 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000227/0.1408, allocations: 55.81 kB / 0.5182 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.1409, allocations: 3.938 kB / 0.5182 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.141, allocations: 3.938 kB / 0.5182 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.909e-05/0.141, allocations: 11.92 kB / 0.5182 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.1411, allocations: 15.98 kB / 0.5182 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1413, allocations: 39.84 kB / 0.5183 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.08e-05/0.1413, allocations: 15.94 kB / 0.5183 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.1414, allocations: 12 kB / 0.5183 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1414, allocations: 15.86 kB / 0.5183 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1414, allocations: 0 / 0.5183 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.1415, allocations: 4 kB / 0.5183 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.1415, allocations: 4 kB / 0.5183 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.1415, allocations: 15.92 kB / 0.5183 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1416, allocations: 35.83 kB / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1416, allocations: 0 / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1416, allocations: 0 / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1416, allocations: 0 / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004713/0.1421, allocations: 282.2 kB / 0.5186 GB, free: 4.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1422, allocations: 12.03 kB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1422, allocations: 4.891 kB / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1424, allocations: 130.4 kB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1424, allocations: 384 / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1424, allocations: 4.375 kB / 0.5188 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1426, allocations: 72.81 kB / 0.5189 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1426, allocations: 192 / 0.5189 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1426, allocations: 7.938 kB / 0.5189 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1426, allocations: 0 / 0.5189 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.1427, allocations: 27.92 kB / 0.5189 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.1433, allocations: 385 kB / 0.5193 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1434, allocations: 46.44 kB / 0.5193 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.1435, allocations: 16.94 kB / 0.5193 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1435, allocations: 7.875 kB / 0.5193 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1435, allocations: 34.56 kB / 0.5194 GB, free: 3.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1435, allocations: 4 kB / 0.5194 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004509/0.144, allocations: 109.4 kB / 0.5195 GB, free: 3.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.144, allocations: 51.41 kB / 0.5195 GB, free: 3.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1441, allocations: 117.8 kB / 0.5196 GB, free: 3.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1442, allocations: 25.7 kB / 0.5197 GB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.1442, allocations: 88.09 kB / 0.5197 GB, free: 3.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1442, allocations: 19.84 kB / 0.5198 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1443, allocations: 25.66 kB / 0.5198 GB, free: 3.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1444, allocations: 326.8 kB / 0.5201 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.1445, allocations: 11.98 kB / 0.5201 GB, free: 2.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1445, allocations: 47.41 kB / 0.5201 GB, free: 2.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1447, allocations: 55.36 kB / 0.5202 GB, free: 2.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1447, allocations: 0 / 0.5202 GB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.1448, allocations: 89.58 kB / 0.5203 GB, free: 2.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1448, allocations: 4 kB / 0.5203 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1448, allocations: 4 kB / 0.5203 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1449, allocations: 384 / 0.5203 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.1449, allocations: 11.98 kB / 0.5203 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1449, allocations: 4 kB / 0.5203 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.145, allocations: 0 / 0.5203 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.145, allocations: 4 kB / 0.5203 GB, free: 2.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 9.883e-05/0.1451, allocations: 125.7 kB / 0.5204 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1451, allocations: 3.953 kB / 0.5204 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.1451, allocations: 16.06 kB / 0.5205 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1451, allocations: 0 / 0.5205 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1451, allocations: 0 / 0.5205 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1451, allocations: 3.984 kB / 0.5205 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1453, allocations: 121.2 kB / 0.5206 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1453, allocations: 0 / 0.5206 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.1454, allocations: 12 kB / 0.5206 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1454, allocations: 384 / 0.5206 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1454, allocations: 0 / 0.5206 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1454, allocations: 0 / 0.5206 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1454, allocations: 3.938 kB / 0.5206 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1456, allocations: 187.3 kB / 0.5208 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.1456, allocations: 4.031 kB / 0.5208 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1457, allocations: 7.938 kB / 0.5208 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.1457, allocations: 0 / 0.5208 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1458, allocations: 7.984 kB / 0.5208 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1458, allocations: 4 kB / 0.5208 GB, free: 2.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.1458, allocations: 91.27 kB / 0.5209 GB, free: 2.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1458, allocations: 0 / 0.5209 GB, free: 2.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1461, allocations: 8 kB / 0.5209 GB, free: 2.031 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001029/0.1462, allocations: 91.31 kB / 0.521 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1463, allocations: 43.92 kB / 0.521 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1463, allocations: 0 / 0.521 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.1464, allocations: 19.98 kB / 0.521 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1467, allocations: 15.92 kB / 0.521 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1472, allocations: 158.8 kB / 0.5212 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.158e-05/0.1472, allocations: 67.53 kB / 0.5213 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.648e-05/0.1473, allocations: 7.984 kB / 0.5213 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1473, allocations: 11.44 kB / 0.5213 GB, free: 1.57 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1473, allocations: 3.938 kB / 0.5213 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Templates: time 0.003372/0.1507, allocations: 0.5405 MB / 0.5218 GB, free: 1.031 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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: 5.363538330420852]