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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 172.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009212, allocations: 90.7 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1948/0.1948, allocations: 44.14 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.168e-05, allocations: 224 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 61.91 MB / 0.4947 GB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.573, allocations: 85.42 MB / 0.5781 GB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5733, allocations: 63.97 kB / 0.5781 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002596/0.5759, allocations: 1.035 MB / 0.5792 GB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5759, allocations: 0 / 0.5792 GB, free: 10.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.576, allocations: 4 kB / 0.5792 GB, free: 10.05 MB / 394.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.0002998/0.5763, allocations: 342.4 kB / 0.5795 GB, free: 9.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5763, allocations: 15.98 kB / 0.5795 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.5764, allocations: 3.906 kB / 0.5795 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.5765, allocations: 179 kB / 0.5797 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.5766, allocations: 0 / 0.5797 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.5766, allocations: 4.75 kB / 0.5797 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.604e-05/0.5767, allocations: 15.95 kB / 0.5797 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.49e-05/0.5768, allocations: 56.27 kB / 0.5797 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5768, allocations: 4 kB / 0.5797 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.5768, allocations: 0 / 0.5797 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5768, allocations: 0 / 0.5797 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.5772, allocations: 429.5 kB / 0.5802 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5774, allocations: 38.58 kB / 0.5802 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.5775, allocations: 16.8 kB / 0.5802 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5775, allocations: 3.984 kB / 0.5802 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5775, allocations: 34.5 kB / 0.5802 GB, free: 8.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5775, allocations: 0 / 0.5802 GB, free: 8.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002881/0.5778, allocations: 69.67 kB / 0.5803 GB, free: 8.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.5779, allocations: 54.36 kB / 0.5804 GB, free: 8.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.5779, allocations: 105.1 kB / 0.5805 GB, free: 8.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.578, allocations: 29.7 kB / 0.5805 GB, free: 8.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.578, allocations: 96.03 kB / 0.5806 GB, free: 8.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.578, allocations: 7.844 kB / 0.5806 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.578, allocations: 4 kB / 0.5806 GB, free: 8.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.5781, allocations: 318.8 kB / 0.5809 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.5782, allocations: 7.938 kB / 0.5809 GB, free: 8.047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.5782, allocations: 39.44 kB / 0.5809 GB, free: 7.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.5782, allocations: 12 kB / 0.581 GB, free: 7.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5782, allocations: 0 / 0.581 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.889e-05/0.5783, allocations: 73.47 kB / 0.581 GB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5784, allocations: 4 kB / 0.581 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5784, allocations: 0 / 0.581 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5784, allocations: 8.094 kB / 0.581 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.5785, allocations: 8 kB / 0.581 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5785, allocations: 4 kB / 0.5811 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.5785, allocations: 7.984 kB / 0.5811 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5785, allocations: 3.938 kB / 0.5811 GB, free: 7.871 MB / 394.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 () * 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 6.263e-05/0.5786, allocations: 109 kB / 0.5812 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.5786, allocations: 7.859 kB / 0.5812 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.5787, allocations: 8.344 kB / 0.5812 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.5787, allocations: 0 / 0.5812 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5787, allocations: 4 kB / 0.5812 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.5787, allocations: 0 / 0.5812 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.5788, allocations: 146.2 kB / 0.5813 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5788, allocations: 3.828 kB / 0.5813 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.5789, allocations: 12.36 kB / 0.5813 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5789, allocations: 4 kB / 0.5813 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.5789, allocations: 3.953 kB / 0.5813 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5789, allocations: 0 / 0.5813 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5789, allocations: 3.938 kB / 0.5814 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.5791, allocations: 159.5 kB / 0.5815 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.5792, allocations: 85.05 kB / 0.5816 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.5792, allocations: 0 / 0.5816 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.5792, allocations: 11.94 kB / 0.5816 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.5793, allocations: 0 / 0.5816 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.5793, allocations: 0 / 0.5816 GB, free: 7.246 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.5793, allocations: 87.28 kB / 0.5817 GB, free: 7.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5793, allocations: 0 / 0.5817 GB, free: 7.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.5795, allocations: 12.06 kB / 0.5817 GB, free: 7.148 MB / 394.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 () * 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.0001054/0.5797, allocations: 95.23 kB / 0.5818 GB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.5798, allocations: 28.22 kB / 0.5818 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5798, allocations: 0 / 0.5818 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.5798, allocations: 12 kB / 0.5818 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.58, allocations: 4 kB / 0.5818 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.5803, allocations: 106.4 kB / 0.5819 GB, free: 6.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5806, allocations: 0.6884 MB / 0.5826 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.825e-05/0.5806, allocations: 5.625 kB / 0.5826 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.5806, allocations: 11.44 kB / 0.5826 GB, free: 6.145 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5806, allocations: 0 / 0.5826 GB, free: 6.145 MB / 394.7 MB Notification: Performance of Templates: time 0.002255/0.5829, allocations: 433.3 kB / 0.583 GB, free: 5.727 MB / 394.7 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