Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001754/0.001754, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002002/0.002002, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2316/0.2316, allocations: 46.92 MB / 357.1 MB, free: 10.34 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.138, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003456/0.1415, allocations: 2.076 MB / 0.5574 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1426, allocations: 0.6078 MB / 0.558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1427, allocations: 4 kB / 0.558 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1428, allocations: 15.8 kB / 0.558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1429, allocations: 39.62 kB / 0.5581 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1433, allocations: 79.83 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1436, allocations: 195.2 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1437, allocations: 41.52 kB / 0.5584 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1439, allocations: 83.77 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.144, allocations: 79.67 kB / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1441, allocations: 16 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.1441, allocations: 23.86 kB / 0.5586 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.1442, allocations: 35.91 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.1443, allocations: 67.66 kB / 0.5587 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1445, allocations: 187.2 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1445, allocations: 0 / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1445, allocations: 4 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1446, allocations: 0 / 0.5588 GB, free: 2.309 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009065/0.1455, allocations: 458.9 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1455, allocations: 12.03 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.1456, allocations: 42.75 kB / 0.5593 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1457, allocations: 24.83 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1461, allocations: 224.6 kB / 0.5596 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1461, allocations: 8.609 kB / 0.5596 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.1461, allocations: 19.92 kB / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1465, allocations: 164.1 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1465, allocations: 7.953 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1466, allocations: 4 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1466, allocations: 8 kB / 0.5598 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.1469, allocations: 103.9 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009849/0.1479, allocations: 0.6844 MB / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1482, allocations: 126.6 kB / 0.5607 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1484, allocations: 56.77 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1484, allocations: 4 kB / 0.5607 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1485, allocations: 38.56 kB / 0.5608 GB, free: 156 kB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1485, allocations: 0 / 0.5608 GB, free: 156 kB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001501/0.15, allocations: 405.8 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.15, allocations: 63.39 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1502, allocations: 158.2 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.1502, allocations: 25.7 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.1503, allocations: 116.4 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.1504, allocations: 75.36 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.1505, allocations: 37.7 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1506, allocations: 326.8 kB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.1508, allocations: 71.95 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.151, allocations: 99.33 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1515, allocations: 176.9 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1515, allocations: 0 / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005361/0.152, allocations: 213.4 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.152, allocations: 4 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.152, allocations: 12.02 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.152, allocations: 4 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1524, allocations: 55.91 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1524, allocations: 4 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.1525, allocations: 11.98 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.1526, allocations: 11.94 kB / 0.5625 GB, free: 14.24 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001378/0.1527, allocations: 121.8 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.1527, allocations: 19.91 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1528, allocations: 25.17 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1528, allocations: 7.938 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1528, allocations: 0 / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1528, allocations: 0 / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1539, allocations: 0.6176 MB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1539, allocations: 0 / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1542, allocations: 43.95 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1542, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1542, allocations: 8 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1542, allocations: 0 / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1542, allocations: 0 / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.1548, allocations: 309.6 kB / 0.5637 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1549, allocations: 97 kB / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1549, allocations: 11.98 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.1551, allocations: 15.98 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1552, allocations: 7.984 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1552, allocations: 11.94 kB / 0.5638 GB, free: 12.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1553, allocations: 119.2 kB / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1553, allocations: 0 / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1556, allocations: 40 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (19): * Single equations (assignments): 19 * 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.0009305/0.1566, allocations: 0.8372 MB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.1571, allocations: 161 kB / 0.5649 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1571, allocations: 0 / 0.5649 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.1573, allocations: 82.64 kB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1577, allocations: 20.19 kB / 0.565 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.1607, allocations: 2.046 MB / 0.567 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.161, allocations: 0.7171 MB / 0.5677 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.1612, allocations: 25.42 kB / 0.5677 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.1613, allocations: 47.42 kB / 0.5678 GB, free: 8.621 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1613, allocations: 0 / 0.5678 GB, free: 8.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1904, allocations: 3.716 MB / 0.5714 GB, free: 5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.74, allocations: 14.39 kB / 0.5714 GB, free: 4.988 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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: 11.826538039837033]