Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001033/0.001033, allocations: 192 kB / 18.55 MB, free: 4.566 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.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2362/0.2362, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 61.19 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1394, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004187/0.1437, allocations: 2.063 MB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1449, allocations: 0.5456 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1451, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1452, allocations: 27.67 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.1454, allocations: 39.62 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1458, allocations: 67.84 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1461, allocations: 203.1 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1463, allocations: 41.55 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1465, allocations: 87.69 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1467, allocations: 83.67 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.1467, allocations: 16 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.601e-05/0.1468, allocations: 16 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.1469, allocations: 35.84 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.147, allocations: 75.64 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1472, allocations: 179.6 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1472, allocations: 3.984 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1473, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1473, allocations: 0 / 472.8 MB, free: 10.77 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001054/0.1483, allocations: 462.8 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.1484, allocations: 8.031 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.1485, allocations: 46.73 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.1486, allocations: 24.69 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1489, allocations: 204.7 kB / 473.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1489, allocations: 8.375 kB / 473.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.149, allocations: 19.84 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1494, allocations: 172.6 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1494, allocations: 0 / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1495, allocations: 0 / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1495, allocations: 4 kB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.1498, allocations: 112.6 kB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1509, allocations: 0.7015 MB / 474.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.1513, allocations: 150.6 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1515, allocations: 64.77 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1515, allocations: 4 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1515, allocations: 34.56 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/0.1516, allocations: 0 / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001466/0.153, allocations: 411.8 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1531, allocations: 55.41 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1533, allocations: 158.2 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1533, allocations: 25.7 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.1534, allocations: 120.3 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.1535, allocations: 78.92 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.1536, allocations: 37.7 kB / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1537, allocations: 326.8 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.1539, allocations: 67.95 kB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1541, allocations: 112.8 kB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.1545, allocations: 181.5 kB / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1545, allocations: 0 / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005147/0.155, allocations: 225.2 kB / 476.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1551, allocations: 7.984 kB / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1551, allocations: 0 / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1551, allocations: 8.094 kB / 476.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1554, allocations: 51.91 kB / 476.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1554, allocations: 7.938 kB / 476.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1556, allocations: 7.984 kB / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1556, allocations: 12 kB / 476.7 MB, free: 6.652 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001369/0.1558, allocations: 134.6 kB / 476.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.1558, allocations: 15.81 kB / 476.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.1559, allocations: 25.17 kB / 476.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1559, allocations: 4 kB / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1559, allocations: 0 / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1559, allocations: 0 / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.157, allocations: 0.6278 MB / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.157, allocations: 0 / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.1572, allocations: 39.97 kB / 477.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1572, allocations: 3.938 kB / 477.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1573, allocations: 8 kB / 477.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1573, allocations: 0 / 477.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1573, allocations: 0 / 477.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.1578, allocations: 313.7 kB / 477.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.1579, allocations: 108.8 kB / 477.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.158, allocations: 4 kB / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.1582, allocations: 11.98 kB / 477.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.1583, allocations: 19.97 kB / 478 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1583, allocations: 12 kB / 478 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.18e-05/0.1584, allocations: 115.2 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1584, allocations: 0 / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1587, allocations: 40 kB / 478.1 MB, free: 5.082 MB / 350.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 (20): * Single equations (assignments): 20 * 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.0008737/0.1596, allocations: 0.8394 MB / 479 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.1601, allocations: 187.8 kB / 479.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1601, allocations: 0 / 479.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1604, allocations: 96.02 kB / 479.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1608, allocations: 19.98 kB / 479.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.1638, allocations: 2.045 MB / 481.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1642, allocations: 0.713 MB / 482 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1644, allocations: 37.34 kB / 482.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1645, allocations: 51.34 kB / 482.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1645, allocations: 0 / 482.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.1862, allocations: 3.717 MB / 485.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/7.992, allocations: 9.031 kB / 485.8 MB, free: 13.3 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches