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.001621/0.001621, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001939/0.001939, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 76.88 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, allocations: 62.46 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003573/0.1186, allocations: 2.109 MB / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1196, allocations: 0.596 MB / 482.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1197, allocations: 4 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1199, allocations: 15.84 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.12, allocations: 39.7 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.1204, allocations: 71.91 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1206, allocations: 175.3 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1208, allocations: 37.55 kB / 482.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1209, allocations: 71.77 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1211, allocations: 83.66 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1211, allocations: 8 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.1212, allocations: 11.94 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.1212, allocations: 31.84 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.1213, allocations: 67.66 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1215, allocations: 187.6 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1215, allocations: 0 / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1215, allocations: 0 / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1216, allocations: 0 / 482.9 MB, free: 2.09 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.0008887/0.1225, allocations: 455.1 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1225, allocations: 12.86 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.1226, allocations: 46.75 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1227, allocations: 28.73 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.123, allocations: 212.2 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.123, allocations: 8.609 kB / 483.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.123, allocations: 15.94 kB / 483.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.1234, allocations: 161.8 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.1234, allocations: 11.84 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1234, allocations: 8 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1235, allocations: 4 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1238, allocations: 111.9 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.1247, allocations: 0.6846 MB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.125, allocations: 138.5 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1252, allocations: 64.77 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1252, allocations: 4 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1253, allocations: 38.5 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1253, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001352/0.1266, allocations: 408.5 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1267, allocations: 55.41 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1268, allocations: 158.2 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1269, allocations: 25.7 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.1269, allocations: 120.2 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.127, allocations: 67.08 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1271, allocations: 41.7 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1272, allocations: 326.8 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1274, allocations: 67.95 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1276, allocations: 91.39 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.128, allocations: 177.5 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1281, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004863/0.1286, allocations: 221.3 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1286, allocations: 4 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1286, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1286, allocations: 4 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.1289, allocations: 55.83 kB / 486.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.129, allocations: 3.984 kB / 486.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1291, allocations: 24.08 kB / 486.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1292, allocations: 4 kB / 486.7 MB, free: 14.02 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.0001394/0.1293, allocations: 129.8 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.1294, allocations: 19.75 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.1294, allocations: 21.19 kB / 486.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1294, allocations: 3.938 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1295, allocations: 7.984 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1295, allocations: 0 / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1305, allocations: 0.6151 MB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1305, allocations: 0 / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.1308, allocations: 47.91 kB / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1308, allocations: 0 / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1308, allocations: 8 kB / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1308, allocations: 0 / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1308, allocations: 0 / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.1313, allocations: 303.2 kB / 487.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.1315, allocations: 104.9 kB / 487.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1315, allocations: 7.938 kB / 487.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1317, allocations: 15.98 kB / 487.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.1318, allocations: 15.97 kB / 488 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1318, allocations: 4 kB / 488 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.69e-05/0.1319, allocations: 115.2 kB / 488.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1319, allocations: 3.938 kB / 488.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1322, allocations: 36 kB / 488.1 MB, free: 12.48 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.0008744/0.1331, allocations: 0.8332 MB / 489 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1336, allocations: 170.4 kB / 489.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1336, allocations: 0 / 489.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.1338, allocations: 95.83 kB / 489.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1341, allocations: 19.94 kB / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.1371, allocations: 2.076 MB / 491.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1375, allocations: 0.7213 MB / 492 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.1377, allocations: 29.41 kB / 492.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1378, allocations: 43.42 kB / 492.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1378, allocations: 3.938 kB / 492.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.1508, allocations: 3.374 MB / 495.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.151, allocations: 200.7 kB / 495.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.008, allocations: 0 / 495.7 MB, free: 4.816 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