Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 217.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2362/0.2362, allocations: 46.88 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 79.86 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3298, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003694/0.3335, allocations: 2.095 MB / 0.5632 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3348, allocations: 0.6088 MB / 0.5638 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.3349, allocations: 4 kB / 0.5638 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.335, allocations: 19.78 kB / 0.5639 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3351, allocations: 51.58 kB / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.3355, allocations: 75.83 kB / 0.564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.3357, allocations: 191.3 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3358, allocations: 33.53 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.336, allocations: 87.69 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3362, allocations: 79.67 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.3362, allocations: 12 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.3363, allocations: 16 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.3363, allocations: 35.91 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.3364, allocations: 79.59 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.3367, allocations: 189.9 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3367, allocations: 0 / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3367, allocations: 0 / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3367, allocations: 0 / 0.5647 GB, free: 1.445 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.0009849/0.3377, allocations: 459 kB / 0.5651 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3377, allocations: 8.031 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.3379, allocations: 32.83 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3382, allocations: 224 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3383, allocations: 8.609 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.3383, allocations: 16.12 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.3387, allocations: 165.8 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3387, allocations: 3.953 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3387, allocations: 8 kB / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3388, allocations: 0 / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3391, allocations: 107.9 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3401, allocations: 0.6883 MB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.3404, allocations: 130.5 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3406, allocations: 60.83 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3406, allocations: 7.922 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3407, allocations: 38.5 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.3407, allocations: 0 / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001422/0.3421, allocations: 400.9 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3422, allocations: 55.41 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3423, allocations: 154.2 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.3423, allocations: 33.7 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3425, allocations: 116.4 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.3425, allocations: 71.41 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.3426, allocations: 37.7 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3428, allocations: 334.8 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.343, allocations: 63.95 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.3432, allocations: 103.3 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.3436, allocations: 165.6 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3436, allocations: 4 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005213/0.3442, allocations: 225.3 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3442, allocations: 10.5 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3442, allocations: 0 / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3442, allocations: 0 / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3445, allocations: 55.89 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3445, allocations: 3.938 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3447, allocations: 15.98 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3447, allocations: 12.09 kB / 0.5683 GB, free: 13.43 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 (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.0001346/0.3449, allocations: 121.8 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.3449, allocations: 15.91 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.345, allocations: 21.19 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.345, allocations: 0 / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.345, allocations: 7.922 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.345, allocations: 0 / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.3461, allocations: 0.621 MB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3461, allocations: 0 / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.3464, allocations: 43.97 kB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3464, allocations: 0 / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3464, allocations: 0 / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3464, allocations: 0 / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3464, allocations: 7.938 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.347, allocations: 306 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3471, allocations: 105 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.3471, allocations: 0 / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3473, allocations: 19.98 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3474, allocations: 23.91 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3474, allocations: 4 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.585e-05/0.3475, allocations: 120.1 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3475, allocations: 0 / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.3478, allocations: 36 kB / 0.5697 GB, free: 11.89 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 (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.0001914/0.348, allocations: 103.2 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.3485, allocations: 159.8 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3485, allocations: 0 / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.3487, allocations: 87.84 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3491, allocations: 23.92 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.3499, allocations: 372.8 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.3502, allocations: 0.7171 MB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.3504, allocations: 33.41 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.3504, allocations: 15.44 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3504, allocations: 0 / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005494/0.3559, allocations: 2.034 MB / 0.5732 GB, free: 8.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7824623780325055]