Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 109.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002397, allocations: 76.25 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1426, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00358/0.1462, allocations: 2.117 MB / 481.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1474, allocations: 0.5961 MB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1476, allocations: 7.938 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1478, allocations: 15.84 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1479, allocations: 31.7 kB / 482.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1484, allocations: 75.92 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1486, allocations: 187.3 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1488, allocations: 40.67 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.149, allocations: 87.69 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1492, allocations: 83.67 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.1492, allocations: 12 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.594e-05/0.1493, allocations: 16 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.1494, allocations: 35.84 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.1495, allocations: 71.66 kB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1497, allocations: 187.6 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1497, allocations: 0 / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1497, allocations: 4 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1498, allocations: 0 / 483.1 MB, free: 1.93 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008307/0.1506, allocations: 455.1 kB / 483.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1506, allocations: 8.031 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.1507, allocations: 46.73 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1509, allocations: 28.73 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1511, allocations: 215.6 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1511, allocations: 16.61 kB / 483.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1512, allocations: 23.88 kB / 483.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.1515, allocations: 163.6 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1515, allocations: 3.906 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.1516, allocations: 4 kB / 484.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1516, allocations: 4 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.1519, allocations: 111.9 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.1527, allocations: 0.6808 MB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.1531, allocations: 138.6 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1533, allocations: 60.77 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1533, allocations: 0 / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1533, allocations: 46.5 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1533, allocations: 0 / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001355/0.1547, allocations: 395.4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1547, allocations: 59.41 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1549, allocations: 158.2 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1549, allocations: 25.7 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.155, allocations: 120.2 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.1551, allocations: 71.08 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.1552, allocations: 37.64 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1553, allocations: 330.8 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.1555, allocations: 63.95 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1557, allocations: 103.3 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.1561, allocations: 163.4 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1561, allocations: 0 / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004987/0.1566, allocations: 223.5 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1567, allocations: 10.75 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1567, allocations: 7.984 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1567, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.157, allocations: 59.83 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1571, allocations: 4 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1572, allocations: 11.98 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1573, allocations: 11.94 kB / 486.9 MB, free: 13.86 MB / 366.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.000131/0.1574, allocations: 125.8 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.1575, allocations: 19.81 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1575, allocations: 17.19 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1575, allocations: 7.938 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1575, allocations: 0 / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1575, allocations: 3.984 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009804/0.1585, allocations: 0.62 MB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1585, allocations: 0 / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1588, allocations: 39.97 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1588, allocations: 0 / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.1588, allocations: 4 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1588, allocations: 0 / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1588, allocations: 4 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.1593, allocations: 305.9 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.1594, allocations: 104.9 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1595, allocations: 8 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1597, allocations: 15.98 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.1598, allocations: 19.97 kB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1598, allocations: 8 kB / 488.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.1599, allocations: 111.2 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1599, allocations: 0 / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1602, allocations: 40 kB / 488.4 MB, free: 12.32 MB / 366.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.0007159/0.1609, allocations: 0.8293 MB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.1614, allocations: 174.5 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1614, allocations: 8.188 kB / 489.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.1616, allocations: 99.77 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.162, allocations: 19.56 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.1646, allocations: 2.074 MB / 491.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1648, allocations: 0.7132 MB / 492.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.165, allocations: 33.41 kB / 492.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1651, allocations: 47.36 kB / 492.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1652, allocations: 0 / 492.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.1796, allocations: 3.481 MB / 495.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.1798, allocations: 200.6 kB / 496 MB, free: 4.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.03, allocations: 0 / 496 MB, free: 4.566 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches