Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002321/0.002326, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3989/0.3989, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002196/0.1173, allocations: 1.25 MB / 491.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.1176, allocations: 63.77 kB / 491.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.1177, allocations: 0 / 491.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1177, allocations: 0 / 491.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1178, allocations: 11.94 kB / 491.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.118, allocations: 15.97 kB / 491.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1181, allocations: 27.97 kB / 491.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.1182, allocations: 4 kB / 491.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.1183, allocations: 15.92 kB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.1184, allocations: 7.938 kB / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1184, allocations: 0 / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1184, allocations: 0 / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1184, allocations: 8 kB / 491.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1185, allocations: 33.64 kB / 491.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.276e-05/0.1186, allocations: 31.94 kB / 491.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1186, allocations: 0 / 491.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1186, allocations: 0 / 491.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1186, allocations: 0 / 491.7 MB, free: 7.855 MB / 330.7 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.0004907/0.1191, allocations: 343.5 kB / 492 MB, free: 7.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1192, allocations: 8.031 kB / 492 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1192, allocations: 4 kB / 492 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1194, allocations: 182.9 kB / 492.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1194, allocations: 4 kB / 492.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1195, allocations: 7.938 kB / 492.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1197, allocations: 72.25 kB / 492.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1197, allocations: 0 / 492.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1197, allocations: 0 / 492.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1198, allocations: 0 / 492.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1199, allocations: 31.92 kB / 492.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.1205, allocations: 445.2 kB / 492.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1208, allocations: 58.44 kB / 492.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1208, allocations: 7.938 kB / 492.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1209, allocations: 30.56 kB / 492.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.1209, allocations: 0 / 492.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006342/0.1215, allocations: 113.6 kB / 493 MB, free: 6.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1216, allocations: 55.36 kB / 493 MB, free: 6.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1217, allocations: 118 kB / 493.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1218, allocations: 25.7 kB / 493.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1219, allocations: 166.4 kB / 493.3 MB, free: 6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1219, allocations: 15.8 kB / 493.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1219, allocations: 4 kB / 493.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1221, allocations: 314.8 kB / 493.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.1222, allocations: 15.98 kB / 493.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1223, allocations: 43.42 kB / 493.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.1224, allocations: 23.94 kB / 493.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1224, allocations: 0 / 493.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002697/0.1227, allocations: 81.94 kB / 493.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1227, allocations: 6.656 kB / 493.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1228, allocations: 4 kB / 493.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1228, allocations: 96 / 493.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1229, allocations: 20.03 kB / 493.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1229, allocations: 0 / 493.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.123, allocations: 11.94 kB / 493.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.123, allocations: 4 kB / 493.9 MB, free: 5.441 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1231, allocations: 117.8 kB / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1232, allocations: 11.91 kB / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.1232, allocations: 11.89 kB / 494 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1232, allocations: 4 kB / 494 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1233, allocations: 4 kB / 494 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1233, allocations: 0 / 494 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1235, allocations: 169.6 kB / 494.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1235, allocations: 0 / 494.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1237, allocations: 12.38 kB / 494.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1237, allocations: 3.984 kB / 494.2 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1237, allocations: 0 / 494.2 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1237, allocations: 0 / 494.2 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1237, allocations: 7.875 kB / 494.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1241, allocations: 191.3 kB / 494.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1242, allocations: 81.14 kB / 494.5 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1242, allocations: 0 / 494.5 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.1243, allocations: 3.984 kB / 494.5 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1244, allocations: 4 kB / 494.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1244, allocations: 4.062 kB / 494.5 MB, free: 4.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.1245, allocations: 91.27 kB / 494.6 MB, free: 4.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1245, allocations: 0 / 494.6 MB, free: 4.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.1248, allocations: 8 kB / 494.6 MB, free: 4.633 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.1249, allocations: 95.25 kB / 494.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1252, allocations: 40.03 kB / 494.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1252, allocations: 4.062 kB / 494.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.1253, allocations: 16 kB / 494.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1256, allocations: 15.94 kB / 494.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.1262, allocations: 202.4 kB / 494.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1266, allocations: 0.6926 MB / 495.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.1266, allocations: 7.438 kB / 495.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1266, allocations: 4 kB / 495.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of Templates: time 0.002817/0.1294, allocations: 0.7662 MB / 496.4 MB, free: 2.727 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches