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.001568/0.001568, allocations: 110.8 kB / 17.33 MB, free: 6.023 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.001832/0.001832, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.407/1.407, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2117/0.2117, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 64.77 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1119, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003489/0.1154, allocations: 2.128 MB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.1164, allocations: 0.53 MB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1166, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1167, allocations: 23.78 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1169, allocations: 35.7 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1172, allocations: 59.92 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1175, allocations: 195.2 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1176, allocations: 45.53 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1178, allocations: 83.7 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1179, allocations: 79.67 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.118, allocations: 12 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.118, allocations: 16 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.118, allocations: 39.83 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.1181, allocations: 87.58 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1183, allocations: 171.6 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1183, allocations: 0 / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1183, allocations: 0 / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1184, allocations: 7.984 kB / 472.3 MB, free: 11.13 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.0008315/0.1192, allocations: 462.8 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1192, allocations: 19.91 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.1193, allocations: 46.73 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1194, allocations: 16.75 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1196, allocations: 208.7 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1196, allocations: 12.36 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1197, allocations: 23.78 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.12, allocations: 162.4 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.12, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1201, allocations: 8 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1201, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.1204, allocations: 120.6 kB / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.1213, allocations: 0.6938 MB / 474.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.1217, allocations: 146.5 kB / 474.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1218, allocations: 68.77 kB / 474.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1219, allocations: 8 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1219, allocations: 30.56 kB / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.1219, allocations: 0 / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001344/0.1233, allocations: 419.4 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1233, allocations: 51.41 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1234, allocations: 150.2 kB / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1235, allocations: 33.7 kB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1235, allocations: 116.3 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1236, allocations: 67 kB / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.1237, allocations: 37.7 kB / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1238, allocations: 334.7 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.124, allocations: 71.95 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1242, allocations: 106.9 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.1246, allocations: 181.7 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1246, allocations: 0 / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000488/0.1251, allocations: 228.1 kB / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1251, allocations: 4 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1252, allocations: 7.922 kB / 476.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1252, allocations: 7.938 kB / 476.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.1255, allocations: 47.91 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1255, allocations: 4 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1257, allocations: 15.98 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1257, allocations: 4 kB / 476.2 MB, free: 7.012 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.0001219/0.1258, allocations: 142.6 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1259, allocations: 15.81 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.1259, allocations: 21.17 kB / 476.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1259, allocations: 4 kB / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1259, allocations: 0 / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1259, allocations: 0 / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.1269, allocations: 0.6279 MB / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1269, allocations: 0 / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.1272, allocations: 43.91 kB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.1272, allocations: 11.92 kB / 477 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1272, allocations: 8 kB / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1272, allocations: 0 / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1273, allocations: 0 / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.1277, allocations: 299.2 kB / 477.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.1278, allocations: 112.8 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1279, allocations: 0 / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1281, allocations: 19.98 kB / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1282, allocations: 19.97 kB / 477.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1282, allocations: 4 kB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.1283, allocations: 119.2 kB / 477.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 477.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1286, allocations: 36 kB / 477.6 MB, free: 5.438 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.0007625/0.1294, allocations: 0.8439 MB / 478.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.1298, allocations: 188 kB / 478.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1299, allocations: 0 / 478.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.1301, allocations: 93.61 kB / 478.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1304, allocations: 29.77 kB / 478.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.1331, allocations: 2.119 MB / 480.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1333, allocations: 0.7208 MB / 481.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1335, allocations: 25.41 kB / 481.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1337, allocations: 55.41 kB / 481.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1337, allocations: 0 / 481.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1475, allocations: 3.53 MB / 485.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.1478, allocations: 216.4 kB / 485.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.053, allocations: 0 / 485.4 MB, free: 13.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches