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.001097/0.001097, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 79.83 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003239/0.1051, allocations: 2.063 MB / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.1061, allocations: 0.6038 MB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.1062, allocations: 4 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.77e-05/0.1064, allocations: 19.78 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.912e-05/0.1065, allocations: 35.64 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1068, allocations: 91.81 kB / 482.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.107, allocations: 179.3 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1072, allocations: 45.55 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1073, allocations: 79.75 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1075, allocations: 83.67 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.1075, allocations: 12 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1076, allocations: 20 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.1076, allocations: 43.77 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.1077, allocations: 71.66 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1079, allocations: 179.6 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.108, allocations: 0 / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.108, allocations: 0 / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.108, allocations: 4 kB / 483.6 MB, free: 1.613 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.0007742/0.1088, allocations: 459 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1088, allocations: 8.031 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.1089, allocations: 46.73 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.109, allocations: 28.73 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1092, allocations: 212 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1093, allocations: 20.59 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1093, allocations: 11.94 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1096, allocations: 165.8 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1097, allocations: 7.844 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1097, allocations: 4 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1097, allocations: 4 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.11, allocations: 111.9 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.1108, allocations: 0.6768 MB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1112, allocations: 142.5 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1113, allocations: 60.77 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1114, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1114, allocations: 38.56 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.1114, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001314/0.1127, allocations: 415 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.1128, allocations: 55.41 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1129, allocations: 154.2 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1129, allocations: 25.7 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.113, allocations: 124.2 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.1131, allocations: 63.09 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.1131, allocations: 37.7 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1133, allocations: 326.8 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1135, allocations: 67.95 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1137, allocations: 91.39 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.1141, allocations: 175.3 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1141, allocations: 0 / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004746/0.1146, allocations: 223.6 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1146, allocations: 6.5 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1146, allocations: 4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1146, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.1149, allocations: 55.83 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1149, allocations: 4 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1151, allocations: 12 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1151, allocations: 7.984 kB / 487.4 MB, free: 13.56 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.000112/0.1152, allocations: 133.8 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.1153, allocations: 23.69 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.1153, allocations: 17.19 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1153, allocations: 7.938 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1153, allocations: 0 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1153, allocations: 3.984 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.1163, allocations: 0.6123 MB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1163, allocations: 8 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1166, allocations: 43.91 kB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1166, allocations: 0 / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1166, allocations: 4 kB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1166, allocations: 4 kB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1166, allocations: 0 / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.1171, allocations: 301.9 kB / 488.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.1172, allocations: 104.9 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1172, allocations: 4 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1175, allocations: 23.92 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.1175, allocations: 15.97 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.1176, allocations: 11.98 kB / 488.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.1177, allocations: 111.2 kB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1179, allocations: 40 kB / 488.9 MB, free: 12 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.0007266/0.1187, allocations: 0.8293 MB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1191, allocations: 174.8 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1192, allocations: 4 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1194, allocations: 95.83 kB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1197, allocations: 19.94 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.1223, allocations: 2.022 MB / 492 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1225, allocations: 0.721 MB / 492.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1227, allocations: 21.42 kB / 492.8 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1228, allocations: 47.42 kB / 492.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of SimCode: time 2.234e-06/0.1228, allocations: 4 kB / 492.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1425, allocations: 3.643 MB / 496.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.538, allocations: 7.562 kB / 496.5 MB, free: 4.352 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