Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 93.25 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009095/0.0009097, allocations: 185.8 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004235, allocations: 11.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001972/0.1601, allocations: 1.246 MB / 472.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.1603, allocations: 59.84 kB / 472.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.1604, allocations: 0 / 472.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.1604, allocations: 7.922 kB / 472.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.1605, allocations: 7.984 kB / 472.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.1606, allocations: 15.98 kB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1608, allocations: 27.91 kB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.1609, allocations: 4 kB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.1609, allocations: 11.94 kB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.161, allocations: 19.91 kB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.161, allocations: 0 / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.161, allocations: 0 / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.161, allocations: 4 kB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.1611, allocations: 33.64 kB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.448e-05/0.1611, allocations: 24.23 kB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1611, allocations: 0 / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1611, allocations: 0 / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1612, allocations: 0 / 472.9 MB, free: 12.27 MB / 350.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.0004891/0.1617, allocations: 347.2 kB / 473.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1617, allocations: 8.031 kB / 473.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1617, allocations: 7.906 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1619, allocations: 179 kB / 473.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1619, allocations: 3.938 kB / 473.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.162, allocations: 8 kB / 473.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1621, allocations: 80.14 kB / 473.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1622, allocations: 0 / 473.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1622, allocations: 4 kB / 473.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1622, allocations: 0 / 473.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.871e-05/0.1623, allocations: 27.98 kB / 473.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.1628, allocations: 453.1 kB / 474 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.163, allocations: 42.56 kB / 474 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.163, allocations: 0 / 474 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.163, allocations: 42.5 kB / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.163, allocations: 0 / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004773/0.1635, allocations: 105.6 kB / 474.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1636, allocations: 59.34 kB / 474.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1637, allocations: 121.9 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1637, allocations: 29.7 kB / 474.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.1638, allocations: 92.06 kB / 474.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.1638, allocations: 11.81 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.1638, allocations: 0 / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1639, allocations: 318.8 kB / 474.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.164, allocations: 19.98 kB / 474.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.164, allocations: 43.42 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.1641, allocations: 16.33 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1641, allocations: 0 / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001574/0.1643, allocations: 101.5 kB / 475 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1643, allocations: 4 kB / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1643, allocations: 3.984 kB / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1643, allocations: 4 kB / 475 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.1644, allocations: 8 kB / 475 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1644, allocations: 4 kB / 475 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.1644, allocations: 4 kB / 475 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1645, allocations: 4 kB / 475 MB, free: 9.918 MB / 350.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 8.51e-05/0.1645, allocations: 122.4 kB / 475.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1646, allocations: 7.906 kB / 475.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.1646, allocations: 7.906 kB / 475.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1646, allocations: 3.938 kB / 475.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1646, allocations: 3.938 kB / 475.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1646, allocations: 0 / 475.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.1648, allocations: 177.6 kB / 475.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1648, allocations: 0 / 475.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.1649, allocations: 11.98 kB / 475.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1649, allocations: 0 / 475.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1649, allocations: 8 kB / 475.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1649, allocations: 0 / 475.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1649, allocations: 0 / 475.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1652, allocations: 175.5 kB / 475.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.1652, allocations: 88.95 kB / 475.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1652, allocations: 4.438 kB / 475.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.1653, allocations: 4.031 kB / 475.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.1653, allocations: 0 / 475.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1653, allocations: 4 kB / 475.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.1654, allocations: 99.14 kB / 475.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1654, allocations: 0 / 475.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1656, allocations: 8 kB / 475.7 MB, free: 9.113 MB / 350.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 8.838e-05/0.1657, allocations: 91.25 kB / 475.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1659, allocations: 51.91 kB / 475.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1659, allocations: 0 / 475.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.1659, allocations: 15.98 kB / 475.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1662, allocations: 11.09 kB / 475.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.1666, allocations: 184.9 kB / 476.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1668, allocations: 0.6848 MB / 476.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.1669, allocations: 8.172 kB / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.1669, allocations: 7.438 kB / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1669, allocations: 4 kB / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of Templates: time 0.002431/0.1693, allocations: 449.5 kB / 477.2 MB, free: 7.562 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches