Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.622/1.622, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.89 kB / 0.4914 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1455, allocations: 66 MB / 0.5558 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003903/0.1494, allocations: 1.56 MB / 0.5574 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.1498, allocations: 75.72 kB / 0.5574 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1499, allocations: 0 / 0.5574 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1501, allocations: 7.922 kB / 0.5575 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.1501, allocations: 7.922 kB / 0.5575 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1504, allocations: 27.92 kB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1505, allocations: 31.86 kB / 0.5575 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1506, allocations: 11.98 kB / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.1507, allocations: 11.94 kB / 0.5575 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.1508, allocations: 15.92 kB / 0.5576 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1508, allocations: 4 kB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1508, allocations: 4 kB / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1508, allocations: 11.92 kB / 0.5576 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.1509, allocations: 19.86 kB / 0.5576 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1511, allocations: 31.78 kB / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1511, allocations: 4 kB / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1511, allocations: 0 / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1511, allocations: 0 / 0.5576 GB, free: 3.496 MB / 414.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.0006865/0.1518, allocations: 359.3 kB / 0.558 GB, free: 3.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1518, allocations: 12.03 kB / 0.558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.1519, allocations: 4.891 kB / 0.558 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1522, allocations: 176.4 kB / 0.5582 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1522, allocations: 384 / 0.5582 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.1522, allocations: 12.36 kB / 0.5582 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1524, allocations: 64.83 kB / 0.5582 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1525, allocations: 4.125 kB / 0.5582 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1525, allocations: 7.938 kB / 0.5582 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1525, allocations: 0 / 0.5582 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1526, allocations: 23.97 kB / 0.5583 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.1533, allocations: 457.1 kB / 0.5587 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1535, allocations: 38.56 kB / 0.5587 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.1536, allocations: 12.86 kB / 0.5587 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1536, allocations: 12.08 kB / 0.5588 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1536, allocations: 30.56 kB / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1536, allocations: 0 / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005401/0.1541, allocations: 105.5 kB / 0.5589 GB, free: 2.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.1542, allocations: 51.41 kB / 0.5589 GB, free: 1.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1543, allocations: 117.8 kB / 0.559 GB, free: 1.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1543, allocations: 29.7 kB / 0.5591 GB, free: 1.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.1544, allocations: 96.03 kB / 0.5592 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1545, allocations: 19.77 kB / 0.5592 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.1545, allocations: 25.7 kB / 0.5592 GB, free: 1.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1547, allocations: 318.8 kB / 0.5595 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.1547, allocations: 15.98 kB / 0.5595 GB, free: 1.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.1548, allocations: 45.45 kB / 0.5596 GB, free: 1.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1549, allocations: 63.36 kB / 0.5596 GB, free: 1.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1549, allocations: 0 / 0.5596 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001803/0.1551, allocations: 81.89 kB / 0.5597 GB, free: 1.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1551, allocations: 12.03 kB / 0.5597 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1551, allocations: 4 kB / 0.5597 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1552, allocations: 48 / 0.5597 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.1552, allocations: 19.97 kB / 0.5597 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1552, allocations: 3.938 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.1553, allocations: 8 kB / 0.5598 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1553, allocations: 0 / 0.5598 GB, free: 1.047 MB / 414.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 0.0001023/0.1554, allocations: 117.8 kB / 0.5599 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1554, allocations: 7.953 kB / 0.5599 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.1555, allocations: 11.89 kB / 0.5599 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1555, allocations: 0 / 0.5599 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1555, allocations: 0 / 0.5599 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1555, allocations: 0 / 0.5599 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.1557, allocations: 173.6 kB / 0.5601 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1557, allocations: 0 / 0.5601 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.1558, allocations: 15.98 kB / 0.5601 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1558, allocations: 0 / 0.5601 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1558, allocations: 0 / 0.5601 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1558, allocations: 0 / 0.5601 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1558, allocations: 4 kB / 0.5601 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.1561, allocations: 175.4 kB / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.1562, allocations: 89.08 kB / 0.5603 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1562, allocations: 0 / 0.5603 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.1562, allocations: 0 / 0.5603 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.1563, allocations: 8 kB / 0.5603 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1563, allocations: 0 / 0.5603 GB, free: 368 kB / 414.1 MB Notification: Performance of sorting global known variables: time 6.45e-05/0.1563, allocations: 95.33 kB / 0.5604 GB, free: 272 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1563, allocations: 0 / 0.5604 GB, free: 272 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1566, allocations: 7.938 kB / 0.5604 GB, free: 264 kB / 414.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 0.0001191/0.1567, allocations: 95.19 kB / 0.5605 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1569, allocations: 43.91 kB / 0.5606 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1569, allocations: 0 / 0.5606 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/0.1569, allocations: 20.17 kB / 0.5606 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1572, allocations: 16.16 kB / 0.5606 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.1577, allocations: 153.8 kB / 0.5607 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1581, allocations: 0.6846 MB / 0.5614 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1581, allocations: 4 kB / 0.5614 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.1581, allocations: 11.44 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1581, allocations: 0 / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Templates: time 0.003163/0.1613, allocations: 462.1 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.296185441315174]