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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 116.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.91 MB / 349.6 MB, free: 1.75 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 68.48 kB / 491.8 MB, free: 30.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 64.24 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003745/0.1272, allocations: 2.089 MB / 0.545 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1283, allocations: 0.5377 MB / 0.5456 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1285, allocations: 7.938 kB / 0.5456 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1286, allocations: 23.78 kB / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1287, allocations: 39.64 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1291, allocations: 75.83 kB / 0.5457 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1294, allocations: 199.3 kB / 0.5459 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1295, allocations: 29.77 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1297, allocations: 87.7 kB / 0.546 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1298, allocations: 87.66 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.1299, allocations: 12 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.1299, allocations: 16 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.1299, allocations: 35.84 kB / 0.5462 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.13, allocations: 71.66 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.1303, allocations: 191.2 kB / 0.5464 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1303, allocations: 0 / 0.5464 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1303, allocations: 0 / 0.5464 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1303, allocations: 0 / 0.5464 GB, free: 0.6172 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008862/0.1312, allocations: 462.7 kB / 0.5468 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1313, allocations: 12.03 kB / 0.5469 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.1313, allocations: 42.75 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.1314, allocations: 20.83 kB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.1318, allocations: 208.6 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1318, allocations: 16.38 kB / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1318, allocations: 15.94 kB / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.1322, allocations: 164.6 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1322, allocations: 0 / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1322, allocations: 11.98 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1322, allocations: 4 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1325, allocations: 116.5 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1336, allocations: 0.6899 MB / 0.5481 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.134, allocations: 142.6 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1341, allocations: 56.77 kB / 0.5483 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1342, allocations: 4 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1342, allocations: 38.5 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.1342, allocations: 0 / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001437/0.1356, allocations: 416.5 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1357, allocations: 51.41 kB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1358, allocations: 162.1 kB / 0.5489 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1359, allocations: 33.7 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.136, allocations: 116.5 kB / 0.5491 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.136, allocations: 71.39 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.1361, allocations: 41.7 kB / 0.5492 GB, free: 13.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1363, allocations: 322.8 kB / 0.5495 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.1365, allocations: 71.89 kB / 0.5496 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1367, allocations: 111.3 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.1371, allocations: 173.3 kB / 0.5498 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1371, allocations: 0 / 0.5498 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005415/0.1376, allocations: 227.2 kB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1377, allocations: 4 kB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1377, allocations: 4 kB / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1377, allocations: 0 / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.138, allocations: 63.98 kB / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.138, allocations: 0 / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1382, allocations: 15.98 kB / 0.5501 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1382, allocations: 8 kB / 0.5501 GB, free: 12.52 MB / 414.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.0001448/0.1383, allocations: 129.8 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.1384, allocations: 15.91 kB / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1384, allocations: 21.19 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1384, allocations: 4 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1385, allocations: 3.984 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1385, allocations: 3.938 kB / 0.5503 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1396, allocations: 0.624 MB / 0.5509 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1396, allocations: 0 / 0.5509 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.1398, allocations: 47.95 kB / 0.551 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1398, allocations: 3.938 kB / 0.551 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1399, allocations: 8 kB / 0.551 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1399, allocations: 7.875 kB / 0.551 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1399, allocations: 0 / 0.551 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.1404, allocations: 306.8 kB / 0.5513 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.1406, allocations: 112.9 kB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1406, allocations: 4 kB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1408, allocations: 11.98 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.1409, allocations: 15.98 kB / 0.5514 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1409, allocations: 11.98 kB / 0.5514 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.141, allocations: 111.2 kB / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.141, allocations: 0 / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1413, allocations: 44 kB / 0.5516 GB, free: 10.94 MB / 414.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.000922/0.1422, allocations: 0.8372 MB / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.1427, allocations: 175.7 kB / 0.5526 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1427, allocations: 0 / 0.5526 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.1429, allocations: 90.92 kB / 0.5527 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1433, allocations: 28.52 kB / 0.5527 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.1465, allocations: 2.06 MB / 0.5547 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1468, allocations: 0.7246 MB / 0.5554 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.147, allocations: 25.42 kB / 0.5554 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1471, allocations: 43.42 kB / 0.5555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1472, allocations: 0 / 0.5555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.1775, allocations: 3.801 MB / 0.5592 GB, free: 3.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.921/9.098, allocations: 13.38 kB / 0.5592 GB, free: 3.102 MB / 414.1 MB " [Timeout remaining time 651] (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 --stepSize=0.000199601 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.202301040757447]