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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009117, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 175.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2994/0.2994, allocations: 43.55 MB / 314.5 MB, free: 8.754 MB / 254.1 MB 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.0004672/0.0004673, allocations: 12 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.0917, allocations: 58.86 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001579/0.09331, allocations: 1.251 MB / 444 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.09357, allocations: 63.77 kB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.09365, allocations: 0 / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.09368, allocations: 3.938 kB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.09376, allocations: 7.984 kB / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.09388, allocations: 15.98 kB / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.09399, allocations: 27.91 kB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.09407, allocations: 4 kB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.0941, allocations: 15.92 kB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.09415, allocations: 11.94 kB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.09417, allocations: 0 / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.09418, allocations: 4 kB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.0942, allocations: 3.984 kB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.09423, allocations: 33.7 kB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5e-05/0.09428, allocations: 24.17 kB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.09429, allocations: 3.938 kB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0943, allocations: 0 / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.0943, allocations: 0 / 444.2 MB, free: 11.59 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.0003312/0.09464, allocations: 347.2 kB / 444.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.09468, allocations: 8.031 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.09471, allocations: 4 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.09487, allocations: 182.9 kB / 444.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.09489, allocations: 4 kB / 444.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.09491, allocations: 0 / 444.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.09506, allocations: 88.11 kB / 444.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.09508, allocations: 0 / 444.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.09509, allocations: 4 kB / 444.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.0951, allocations: 0 / 444.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.0952, allocations: 27.98 kB / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.09564, allocations: 449.2 kB / 445.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.09579, allocations: 46.56 kB / 445.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.09581, allocations: 0 / 445.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.09584, allocations: 42.58 kB / 445.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.09585, allocations: 3.938 kB / 445.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004104/0.09626, allocations: 117.4 kB / 445.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.0963, allocations: 51.41 kB / 445.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.09638, allocations: 118 kB / 445.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.09641, allocations: 29.7 kB / 445.7 MB, free: 9.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.09646, allocations: 99.97 kB / 445.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.09648, allocations: 7.812 kB / 445.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.09649, allocations: 0 / 445.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.09658, allocations: 322.8 kB / 446.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.09663, allocations: 12 kB / 446.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.0967, allocations: 43.42 kB / 446.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.09676, allocations: 20.31 kB / 446.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.09677, allocations: 0 / 446.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001533/0.09692, allocations: 105.5 kB / 446.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.09695, allocations: 4 kB / 446.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.09696, allocations: 4 kB / 446.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.09697, allocations: 0 / 446.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.09704, allocations: 15.95 kB / 446.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.09705, allocations: 0 / 446.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.09709, allocations: 7.984 kB / 446.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.09711, allocations: 4 kB / 446.3 MB, free: 9.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.197e-05/0.09718, allocations: 117.9 kB / 446.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.09721, allocations: 4 kB / 446.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.09724, allocations: 8.281 kB / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.09725, allocations: 4 kB / 446.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09726, allocations: 3.953 kB / 446.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.09726, allocations: 0 / 446.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.09742, allocations: 169.6 kB / 446.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.09743, allocations: 0 / 446.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.0975, allocations: 15.92 kB / 446.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.09751, allocations: 8 kB / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.09752, allocations: 0 / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.09753, allocations: 0 / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.09754, allocations: 0 / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.09775, allocations: 191.3 kB / 446.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.09779, allocations: 77.11 kB / 446.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.09782, allocations: 8.094 kB / 446.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.09788, allocations: 0 / 446.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.09791, allocations: 7.984 kB / 446.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.09792, allocations: 0 / 446.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.09797, allocations: 91.22 kB / 447 MB, free: 8.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09797, allocations: 0 / 447 MB, free: 8.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000219/0.0982, allocations: 15.95 kB / 447 MB, free: 8.422 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 (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 7.394e-05/0.09828, allocations: 91.23 kB / 447.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.09841, allocations: 43.98 kB / 447.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09842, allocations: 3.938 kB / 447.2 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.09847, allocations: 15.98 kB / 447.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.09868, allocations: 8 kB / 447.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.09904, allocations: 189.1 kB / 447.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.09924, allocations: 0.6887 MB / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.09928, allocations: 192 / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.09931, allocations: 11.44 kB / 448.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09931, allocations: 0 / 448.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of Templates: time 0.002131/0.1014, allocations: 444.6 kB / 448.5 MB, free: 6.879 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches