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.001199/0.001199, allocations: 104 kB / 17.63 MB, free: 5.523 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.001386/0.001386, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.313/1.313, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2006/0.2006, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 56.59 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 60.83 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003259/0.1412, allocations: 1.532 MB / 470.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002182/0.1415, allocations: 59.8 kB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.1415, allocations: 4 kB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1417, allocations: 7.875 kB / 470.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.618e-05/0.1417, allocations: 11.86 kB / 470.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.1418, allocations: 15.98 kB / 470.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1419, allocations: 39.91 kB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1421, allocations: 8 kB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.1421, allocations: 11.92 kB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.1422, allocations: 23.86 kB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1422, allocations: 4 kB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1422, allocations: 4 kB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.1422, allocations: 4 kB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.1423, allocations: 15.88 kB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.8e-05/0.1424, allocations: 36.17 kB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1424, allocations: 0 / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1424, allocations: 3.938 kB / 471 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1424, allocations: 0 / 471 MB, free: 12.6 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.0004532/0.1429, allocations: 351.4 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1429, allocations: 12.03 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1429, allocations: 4.844 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1431, allocations: 184.2 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1431, allocations: 4.375 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1432, allocations: 4.375 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1433, allocations: 68.77 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1433, allocations: 4.188 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1434, allocations: 7.875 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1434, allocations: 4 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.1435, allocations: 23.97 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.144, allocations: 449.2 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1441, allocations: 42.56 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.1442, allocations: 12.86 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1442, allocations: 0 / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1442, allocations: 42.58 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1442, allocations: 0 / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004797/0.1447, allocations: 109.5 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1448, allocations: 51.41 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.1449, allocations: 121.7 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1449, allocations: 25.7 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.1449, allocations: 99.97 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.145, allocations: 7.812 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.145, allocations: 21.72 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1451, allocations: 326.8 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.1452, allocations: 15.98 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.1452, allocations: 39.42 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1453, allocations: 63.36 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1454, allocations: 0 / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001479/0.1455, allocations: 81.52 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1455, allocations: 4 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1455, allocations: 160 / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1456, allocations: 4 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.1456, allocations: 11.94 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1456, allocations: 12.08 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.1457, allocations: 7.984 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1457, allocations: 4 kB / 473.2 MB, free: 10.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/0.1458, allocations: 117.8 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1458, allocations: 0 / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.1458, allocations: 7.906 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1458, allocations: 4 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1459, allocations: 0 / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1459, allocations: 0 / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.146, allocations: 177.5 kB / 473.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1461, allocations: 0 / 473.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1461, allocations: 11.98 kB / 473.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1461, allocations: 4 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1462, allocations: 4 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1462, allocations: 0 / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1462, allocations: 0 / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1464, allocations: 187.3 kB / 473.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1464, allocations: 77.11 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1465, allocations: 0 / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.1465, allocations: 4.031 kB / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1466, allocations: 7.984 kB / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1466, allocations: 0 / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.1466, allocations: 91.59 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1466, allocations: 0 / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1468, allocations: 8 kB / 473.9 MB, free: 9.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.713e-05/0.1469, allocations: 103.2 kB / 474 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1471, allocations: 40.34 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1471, allocations: 0 / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.1472, allocations: 23.92 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1475, allocations: 4.188 kB / 474.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.1479, allocations: 174.6 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1481, allocations: 0.6846 MB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.1482, allocations: 4 kB / 474.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.1482, allocations: 15.44 kB / 474.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1482, allocations: 0 / 474.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Templates: time 0.002523/0.1507, allocations: 0.5002 MB / 475.4 MB, free: 7.777 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches