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.001408/0.001408, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001432/0.001432, allocations: 194 kB / 18.12 MB, free: 5.363 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2065/0.2066, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 68.48 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004139/0.1196, allocations: 2.123 MB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1207, allocations: 0.5261 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1209, allocations: 4 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.1211, allocations: 11.86 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1212, allocations: 31.75 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1217, allocations: 75.84 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.1219, allocations: 183.2 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1221, allocations: 33.55 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1223, allocations: 87.62 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1225, allocations: 79.67 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1225, allocations: 8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.1226, allocations: 8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.1226, allocations: 31.84 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1227, allocations: 75.64 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.123, allocations: 179.6 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.123, allocations: 0 / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.123, allocations: 0 / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.123, allocations: 0 / 472.1 MB, free: 11.29 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.0009038/0.1239, allocations: 466.8 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.124, allocations: 8.031 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.124, allocations: 50.67 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1241, allocations: 16.75 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1243, allocations: 206.4 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1244, allocations: 8.375 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.1244, allocations: 19.84 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1248, allocations: 170.3 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1248, allocations: 4 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1248, allocations: 4 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1248, allocations: 4 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1251, allocations: 116.6 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.126, allocations: 0.6898 MB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.1264, allocations: 150.6 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1266, allocations: 68.7 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1266, allocations: 0 / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1267, allocations: 38.56 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.1267, allocations: 4 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001373/0.1281, allocations: 409 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.1281, allocations: 55.41 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1282, allocations: 154.2 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1283, allocations: 29.7 kB / 474.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.1283, allocations: 120.3 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.1284, allocations: 67 kB / 474.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.1285, allocations: 41.64 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1286, allocations: 330.8 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.1288, allocations: 71.89 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.129, allocations: 110.8 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.1294, allocations: 186.2 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1294, allocations: 0 / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004882/0.1299, allocations: 221.3 kB / 475.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.13, allocations: 10.5 kB / 475.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.13, allocations: 4.094 kB / 475.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.13, allocations: 0 / 475.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.1303, allocations: 55.89 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1303, allocations: 0 / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1305, allocations: 16 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1305, allocations: 7.984 kB / 475.9 MB, free: 7.168 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.0001179/0.1306, allocations: 138.5 kB / 476 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.1307, allocations: 15.81 kB / 476.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1307, allocations: 25.19 kB / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1308, allocations: 4 kB / 476.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1308, allocations: 0 / 476.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1308, allocations: 3.984 kB / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.1318, allocations: 0.6184 MB / 476.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1318, allocations: 4 kB / 476.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.132, allocations: 43.91 kB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1321, allocations: 7.922 kB / 476.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1321, allocations: 4 kB / 476.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1321, allocations: 4 kB / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1321, allocations: 3.984 kB / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.1326, allocations: 307.2 kB / 477.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1327, allocations: 104.8 kB / 477.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1328, allocations: 8 kB / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.133, allocations: 15.98 kB / 477.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.1331, allocations: 11.98 kB / 477.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1331, allocations: 11.98 kB / 477.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.1332, allocations: 123.1 kB / 477.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1332, allocations: 0 / 477.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1335, allocations: 43.94 kB / 477.4 MB, free: 5.582 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.0007899/0.1343, allocations: 0.8405 MB / 478.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.1347, allocations: 171.8 kB / 478.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1347, allocations: 0 / 478.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.135, allocations: 96.08 kB / 478.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1353, allocations: 30.92 kB / 478.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.138, allocations: 2.097 MB / 480.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1382, allocations: 0.7249 MB / 481.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.1385, allocations: 25.41 kB / 481.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1386, allocations: 47.42 kB / 481.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1386, allocations: 0 / 481.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.1523, allocations: 3.445 MB / 484.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.1525, allocations: 204.4 kB / 485.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.011, allocations: 3.938 kB / 485.1 MB, free: 13.8 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