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.001046/0.001046, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001164, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002492, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002235/0.1136, allocations: 1.778 MB / 484.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1148, allocations: 0.5884 MB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.115, allocations: 4 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.328e-05/0.1151, allocations: 15.84 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1152, allocations: 35.7 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1156, allocations: 71.91 kB / 485.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1158, allocations: 171.3 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1159, allocations: 41.52 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1161, allocations: 75.7 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1162, allocations: 75.67 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1162, allocations: 11.94 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.1163, allocations: 8 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.1163, allocations: 31.83 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.1164, allocations: 93.36 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1166, allocations: 171.6 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1166, allocations: 3.984 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1166, allocations: 0 / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1166, allocations: 4 kB / 486.3 MB, free: 0.8984 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.0007025/0.1174, allocations: 435.2 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1174, allocations: 8.875 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.1175, allocations: 42.75 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1176, allocations: 32.73 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1178, allocations: 216.5 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1179, allocations: 12.61 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1179, allocations: 15.94 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1182, allocations: 159.7 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1183, allocations: 3.938 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1183, allocations: 15.94 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1183, allocations: 4 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1186, allocations: 107.9 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.1195, allocations: 0.6808 MB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1198, allocations: 142.5 kB / 488.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1199, allocations: 64.77 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.12, allocations: 0 / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.12, allocations: 38.56 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.12, allocations: 0 / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00133/0.1213, allocations: 440.4 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1214, allocations: 55.41 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1215, allocations: 158.2 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1216, allocations: 25.7 kB / 489 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.1216, allocations: 128.2 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1217, allocations: 63.11 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1217, allocations: 17.72 kB / 489.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1218, allocations: 330.8 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.122, allocations: 67.97 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1223, allocations: 107.4 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.1227, allocations: 185.5 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1227, allocations: 0 / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004976/0.1232, allocations: 239.7 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1232, allocations: 7.938 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1232, allocations: 0 / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1232, allocations: 4 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.1235, allocations: 52.06 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1235, allocations: 7.922 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1237, allocations: 16 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1237, allocations: 7.984 kB / 490.2 MB, free: 12.8 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.0001097/0.1239, allocations: 129.8 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.1239, allocations: 19.81 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.124, allocations: 21.12 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.124, allocations: 4 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.124, allocations: 3.938 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.124, allocations: 3.984 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.125, allocations: 0.6356 MB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.125, allocations: 0 / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.1252, allocations: 47.97 kB / 491 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1252, allocations: 0 / 491 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1253, allocations: 8 kB / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1253, allocations: 0 / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1253, allocations: 0 / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1258, allocations: 321.5 kB / 491.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.1259, allocations: 104.9 kB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1259, allocations: 4 kB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1262, allocations: 19.98 kB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.1262, allocations: 15.97 kB / 491.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1262, allocations: 12 kB / 491.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.1263, allocations: 115.2 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1263, allocations: 0 / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1266, allocations: 36 kB / 491.6 MB, free: 11.21 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.000768/0.1274, allocations: 0.8449 MB / 492.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.1278, allocations: 178.6 kB / 492.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1279, allocations: 0 / 492.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1281, allocations: 100 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1284, allocations: 23.92 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.131, allocations: 2.154 MB / 494.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1313, allocations: 0.7135 MB / 495.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.1315, allocations: 33.41 kB / 495.7 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1316, allocations: 43.41 kB / 495.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1316, allocations: 0 / 495.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1445, allocations: 3.291 MB / 499 MB, free: 3.824 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.1448, allocations: 196.5 kB / 499.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/1.93, allocations: 3.938 kB / 499.2 MB, free: 3.566 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