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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 186 kB / 21.49 MB, free: 0.8242 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.662/1.662, allocations: 207.6 MB / 232.1 MB, free: 3.199 MB / 174.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.3991/0.3991, allocations: 44.23 MB / 328.4 MB, free: 6.254 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.48 kB / 465.5 MB, free: 45.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 61 MB / 0.5142 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002701/0.1246, allocations: 1.582 MB / 0.5157 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.1248, allocations: 58.8 kB / 0.5158 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.1249, allocations: 3.938 kB / 0.5158 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.125, allocations: 5.312 kB / 0.5158 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.125, allocations: 7.922 kB / 0.5158 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1252, allocations: 16.11 kB / 0.5158 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1253, allocations: 42.97 kB / 0.5159 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.1254, allocations: 4.125 kB / 0.5159 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.1254, allocations: 12.11 kB / 0.5159 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.1255, allocations: 19.94 kB / 0.5159 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1255, allocations: 6.75 kB / 0.5159 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.1255, allocations: 2.75 kB / 0.5159 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1255, allocations: 9.359 kB / 0.5159 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1256, allocations: 18.61 kB / 0.5159 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1257, allocations: 33.47 kB / 0.516 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1257, allocations: 0 / 0.516 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1257, allocations: 1.375 kB / 0.516 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1257, allocations: 0 / 0.516 GB, free: 11.09 MB / 382.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.0004377/0.1261, allocations: 351.8 kB / 0.5163 GB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1262, allocations: 21.44 kB / 0.5163 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1262, allocations: 7.641 kB / 0.5163 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1264, allocations: 187.2 kB / 0.5165 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1264, allocations: 1.75 kB / 0.5165 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1264, allocations: 7.062 kB / 0.5165 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1266, allocations: 67.59 kB / 0.5166 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1266, allocations: 5.562 kB / 0.5166 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1266, allocations: 3.938 kB / 0.5166 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1266, allocations: 1.375 kB / 0.5166 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.1267, allocations: 29.66 kB / 0.5166 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1271, allocations: 444.5 kB / 0.517 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1273, allocations: 45.62 kB / 0.5171 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.1273, allocations: 20.28 kB / 0.5171 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.1273, allocations: 0 / 0.5171 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.1273, allocations: 32.06 kB / 0.5171 GB, free: 9.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1273, allocations: 0 / 0.5171 GB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004878/0.1278, allocations: 110.8 kB / 0.5172 GB, free: 9.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1279, allocations: 52.97 kB / 0.5173 GB, free: 9.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.1279, allocations: 118.4 kB / 0.5174 GB, free: 9.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.1279, allocations: 25.7 kB / 0.5174 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.128, allocations: 91.31 kB / 0.5175 GB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.128, allocations: 17.53 kB / 0.5175 GB, free: 9.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.128, allocations: 22.64 kB / 0.5175 GB, free: 9.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.1281, allocations: 320.6 kB / 0.5179 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.1281, allocations: 15.7 kB / 0.5179 GB, free: 9.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.1282, allocations: 38.95 kB / 0.5179 GB, free: 9.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.266e-05/0.1282, allocations: 67.7 kB / 0.518 GB, free: 8.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1282, allocations: 0 / 0.518 GB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001328/0.1284, allocations: 88.56 kB / 0.5181 GB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1284, allocations: 9.719 kB / 0.5181 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1284, allocations: 1.281 kB / 0.5181 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1284, allocations: 1.156 kB / 0.5181 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.1285, allocations: 11.03 kB / 0.5181 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1285, allocations: 4.078 kB / 0.5181 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.1285, allocations: 8.188 kB / 0.5181 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1285, allocations: 2 kB / 0.5181 GB, free: 8.918 MB / 382.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 4.908e-05/0.1286, allocations: 116.7 kB / 0.5182 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1286, allocations: 9.266 kB / 0.5182 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.1286, allocations: 10.53 kB / 0.5182 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1286, allocations: 3.938 kB / 0.5182 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1286, allocations: 0 / 0.5182 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1286, allocations: 5.266 kB / 0.5182 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1287, allocations: 174.5 kB / 0.5184 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1287, allocations: 4 kB / 0.5184 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.1288, allocations: 9.656 kB / 0.5184 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1288, allocations: 0 / 0.5184 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1288, allocations: 5.094 kB / 0.5184 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1288, allocations: 0 / 0.5184 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1288, allocations: 0 / 0.5184 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.129, allocations: 179 kB / 0.5186 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.129, allocations: 82.56 kB / 0.5187 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.1291, allocations: 5.281 kB / 0.5187 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.1291, allocations: 1.438 kB / 0.5187 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1292, allocations: 5.391 kB / 0.5187 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1292, allocations: 5.344 kB / 0.5187 GB, free: 8.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.1292, allocations: 87.53 kB / 0.5188 GB, free: 8.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1292, allocations: 0 / 0.5188 GB, free: 8.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1294, allocations: 8 kB / 0.5188 GB, free: 8.188 MB / 382.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 8.813e-05/0.1295, allocations: 107.2 kB / 0.5189 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1296, allocations: 35.92 kB / 0.5189 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1296, allocations: 0 / 0.5189 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.1297, allocations: 19.98 kB / 0.5189 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.13, allocations: 8 kB / 0.5189 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.1303, allocations: 166.5 kB / 0.5191 GB, free: 7.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.895e-05/0.1304, allocations: 0.6925 MB / 0.5198 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.1304, allocations: 288 / 0.5198 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1305, allocations: 11.44 kB / 0.5198 GB, free: 7.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1305, allocations: 0 / 0.5198 GB, free: 7.09 MB / 382.1 MB Notification: Performance of Templates: time 0.002752/0.1332, allocations: 0.5204 MB / 0.5203 GB, free: 6.57 MB / 382.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.138093144632876]