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.0007517/0.0007518, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.0007675/0.0007675, allocations: 175.2 kB / 18.25 MB, free: 5.523 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.277/1.277, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1799/0.1799, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.08985, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.001911/0.0918, allocations: 1.776 MB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.09248, allocations: 0.5184 MB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.09256, allocations: 4 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.479e-05/0.09265, allocations: 15.84 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.09275, allocations: 31.7 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.09305, allocations: 79.78 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.09325, allocations: 183.2 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.09336, allocations: 33.55 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.09348, allocations: 79.7 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.09361, allocations: 75.66 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.09365, allocations: 8 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.09368, allocations: 8 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.09371, allocations: 31.84 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.09379, allocations: 93.36 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.09396, allocations: 175.6 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.09397, allocations: 0 / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09398, allocations: 0 / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.09399, allocations: 0 / 475.5 MB, free: 10.12 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.0006687/0.09466, allocations: 438.9 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.0947, allocations: 11.97 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.09475, allocations: 46.73 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.0948, allocations: 16.75 kB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.09499, allocations: 216.6 kB / 476.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.09501, allocations: 8.375 kB / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.09504, allocations: 19.88 kB / 476.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.09536, allocations: 165.6 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.09538, allocations: 0 / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.09541, allocations: 8 kB / 476.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.09542, allocations: 0 / 476.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.09572, allocations: 124.6 kB / 476.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.0965, allocations: 0.7015 MB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.09687, allocations: 154.5 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.09703, allocations: 68.77 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.09706, allocations: 4 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.09709, allocations: 34.56 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.0971, allocations: 0 / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001282/0.09838, allocations: 442.6 kB / 477.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.09843, allocations: 55.41 kB / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.09855, allocations: 154.2 kB / 478.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.09858, allocations: 29.7 kB / 478.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.09865, allocations: 120.4 kB / 478.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.0987, allocations: 63.02 kB / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.09875, allocations: 33.64 kB / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.09886, allocations: 330.7 kB / 478.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.09906, allocations: 71.95 kB / 478.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.09928, allocations: 107.3 kB / 478.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.09973, allocations: 193.7 kB / 479 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.09974, allocations: 4 kB / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004832/0.1002, allocations: 233.3 kB / 479.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1003, allocations: 4 kB / 479.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1003, allocations: 4 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1003, allocations: 0 / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.1006, allocations: 55.89 kB / 479.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1006, allocations: 12.03 kB / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1007, allocations: 15.98 kB / 479.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1008, allocations: 12 kB / 479.3 MB, free: 5.961 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.0001044/0.1009, allocations: 130.5 kB / 479.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1009, allocations: 11.91 kB / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.101, allocations: 25.17 kB / 479.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.101, allocations: 4 kB / 479.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.101, allocations: 4 kB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.101, allocations: 0 / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.102, allocations: 0.6472 MB / 480.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.102, allocations: 3.984 kB / 480.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.1022, allocations: 47.91 kB / 480.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1023, allocations: 11.94 kB / 480.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1023, allocations: 4 kB / 480.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1023, allocations: 0 / 480.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1023, allocations: 4 kB / 480.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.1028, allocations: 318 kB / 480.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1029, allocations: 112.8 kB / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1029, allocations: 0 / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1031, allocations: 19.98 kB / 480.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1032, allocations: 15.97 kB / 480.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1032, allocations: 4 kB / 480.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.1033, allocations: 131.1 kB / 480.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1033, allocations: 0 / 480.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1036, allocations: 36 kB / 480.9 MB, free: 4.344 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.0007541/0.1043, allocations: 0.8532 MB / 481.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.1048, allocations: 189.5 kB / 481.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1048, allocations: 0 / 481.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.105, allocations: 99.88 kB / 482 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1054, allocations: 24.12 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1078, allocations: 2.173 MB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1081, allocations: 0.7132 MB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.1083, allocations: 33.41 kB / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1084, allocations: 43.42 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1084, allocations: 0 / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.1204, allocations: 3.374 MB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.1206, allocations: 202.7 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.834, allocations: 0 / 488.6 MB, free: 12.57 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