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.001586/0.001586, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 83.86 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3495, allocations: 62.45 MB / 0.5306 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003366/0.3529, allocations: 2.06 MB / 0.5326 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.354, allocations: 0.608 MB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.3541, allocations: 3.5 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3543, allocations: 25.59 kB / 0.5333 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3544, allocations: 35.27 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3548, allocations: 82.12 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.355, allocations: 188.5 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3552, allocations: 34.17 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3554, allocations: 94.19 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3556, allocations: 77.8 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.3557, allocations: 17.69 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.3557, allocations: 19.12 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.3558, allocations: 31.97 kB / 0.5338 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3559, allocations: 83.02 kB / 0.5339 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.3563, allocations: 174.2 kB / 0.5341 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3563, allocations: 4 kB / 0.5341 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.3564, allocations: 5.359 kB / 0.5341 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3564, allocations: 0 / 0.5341 GB, free: 10.88 MB / 398.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.001066/0.3574, allocations: 463.2 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3575, allocations: 9.625 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.3576, allocations: 46.86 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3578, allocations: 22.59 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.3582, allocations: 222.9 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3582, allocations: 12.73 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.3583, allocations: 16.19 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.3588, allocations: 166.7 kB / 0.535 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3588, allocations: 7.891 kB / 0.535 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.3589, allocations: 6.562 kB / 0.535 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3589, allocations: 2.906 kB / 0.535 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.3594, allocations: 112.8 kB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3608, allocations: 0.678 MB / 0.5358 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.3613, allocations: 140.8 kB / 0.5359 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.3616, allocations: 65.53 kB / 0.536 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3616, allocations: 1.312 kB / 0.536 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3617, allocations: 35.84 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.3617, allocations: 0 / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.002084/0.3638, allocations: 417.4 kB / 0.5364 GB, free: 8.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3638, allocations: 53.53 kB / 0.5365 GB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3641, allocations: 151.3 kB / 0.5366 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.3641, allocations: 34.89 kB / 0.5366 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3643, allocations: 118.8 kB / 0.5367 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.3643, allocations: 67.27 kB / 0.5368 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3645, allocations: 37.55 kB / 0.5368 GB, free: 8.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3647, allocations: 330.8 kB / 0.5372 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.365, allocations: 61.95 kB / 0.5372 GB, free: 8.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.3654, allocations: 104.9 kB / 0.5373 GB, free: 8.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.3661, allocations: 173.6 kB / 0.5375 GB, free: 7.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3661, allocations: 0 / 0.5375 GB, free: 7.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008287/0.3669, allocations: 223.4 kB / 0.5377 GB, free: 7.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.367, allocations: 12.91 kB / 0.5377 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.367, allocations: 1 kB / 0.5377 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.367, allocations: 2.219 kB / 0.5377 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.3675, allocations: 52.78 kB / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3675, allocations: 2.188 kB / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.3678, allocations: 14.61 kB / 0.5378 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3678, allocations: 5.406 kB / 0.5378 GB, free: 7.773 MB / 398.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.0001853/0.368, allocations: 129.4 kB / 0.5379 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.3681, allocations: 19.45 kB / 0.5379 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.3682, allocations: 19.53 kB / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3682, allocations: 10.12 kB / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3682, allocations: 1.156 kB / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3682, allocations: 0 / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.3698, allocations: 0.6164 MB / 0.5386 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3699, allocations: 1.25 kB / 0.5386 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.3703, allocations: 50.98 kB / 0.5386 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3703, allocations: 1.25 kB / 0.5386 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3703, allocations: 1.344 kB / 0.5386 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3703, allocations: 1.344 kB / 0.5386 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3704, allocations: 0 / 0.5386 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.3712, allocations: 310.4 kB / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3714, allocations: 106.6 kB / 0.539 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3714, allocations: 2.344 kB / 0.539 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.3718, allocations: 14.67 kB / 0.539 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.3719, allocations: 14.36 kB / 0.539 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.3719, allocations: 4.031 kB / 0.539 GB, free: 6.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.3721, allocations: 117.4 kB / 0.5392 GB, free: 6.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3721, allocations: 0 / 0.5392 GB, free: 6.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.3726, allocations: 40.28 kB / 0.5392 GB, free: 6.598 MB / 398.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.001298/0.3739, allocations: 0.8322 MB / 0.54 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.3745, allocations: 171.5 kB / 0.5402 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3745, allocations: 0 / 0.5402 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.3748, allocations: 87.86 kB / 0.5403 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3751, allocations: 24.03 kB / 0.5403 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.3783, allocations: 2.046 MB / 0.5423 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3787, allocations: 0.7155 MB / 0.543 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.3789, allocations: 30.84 kB / 0.543 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.379, allocations: 45.27 kB / 0.543 GB, free: 3.281 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.379, allocations: 0 / 0.543 GB, free: 3.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.4046, allocations: 3.697 MB / 0.5467 GB, free: 1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/8.861, allocations: 12.02 kB / 0.5467 GB, free: 0.9922 MB / 398.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