Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 211.8 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 71.91 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 61.04 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4001/0.5259, allocations: 129.5 MB / 0.6438 GB, free: 464 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.5274, allocations: 0.8857 MB / 0.6447 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.5275, allocations: 0 / 0.6447 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.5278, allocations: 27.78 kB / 0.6447 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.5285, allocations: 238.5 kB / 0.645 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.5289, allocations: 132.1 kB / 0.6451 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.5292, allocations: 167.3 kB / 0.6452 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.5293, allocations: 11.97 kB / 0.6453 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.5295, allocations: 91.56 kB / 0.6453 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.5296, allocations: 47.83 kB / 0.6454 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.5296, allocations: 4 kB / 0.6454 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.5302, allocations: 255.7 kB / 0.6456 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.5302, allocations: 23.92 kB / 0.6457 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.5303, allocations: 39.86 kB / 0.6457 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.5308, allocations: 286 kB / 0.646 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5308, allocations: 0 / 0.646 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5308, allocations: 0 / 0.646 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.5308, allocations: 0 / 0.646 GB, free: 14.29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000576/0.5314, allocations: 326.9 kB / 0.6463 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5315, allocations: 12.03 kB / 0.6463 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.5337, allocations: 189.1 kB / 0.6465 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.5341, allocations: 158.6 kB / 0.6466 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5341, allocations: 15.88 kB / 0.6466 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.5341, allocations: 8 kB / 0.6467 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.5348, allocations: 297.1 kB / 0.6469 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5348, allocations: 4 kB / 0.6469 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.5348, allocations: 4 kB / 0.6469 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5348, allocations: 4 kB / 0.6469 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.5353, allocations: 171.8 kB / 0.6471 GB, free: 13.04 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.5365, allocations: 0.4927 MB / 0.6476 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.5369, allocations: 138.4 kB / 0.6477 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.537, allocations: 72.83 kB / 0.6478 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.537, allocations: 0 / 0.6478 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.5371, allocations: 34.56 kB / 0.6478 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.315e-06/0.5371, allocations: 0 / 0.6478 GB, free: 12.25 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005723/0.5428, allocations: 1.141 MB / 0.6489 GB, free: 11.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5429, allocations: 55.41 kB / 0.649 GB, free: 10.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.543, allocations: 117.8 kB / 0.6491 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.543, allocations: 25.7 kB / 0.6491 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.5431, allocations: 96.08 kB / 0.6492 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.5432, allocations: 75.31 kB / 0.6493 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.5433, allocations: 57.69 kB / 0.6493 GB, free: 10.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5435, allocations: 322.8 kB / 0.6497 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5436, allocations: 67.97 kB / 0.6497 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.5438, allocations: 107.2 kB / 0.6498 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.5442, allocations: 189.8 kB / 0.65 GB, free: 9.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5442, allocations: 0 / 0.65 GB, free: 9.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005381/0.5448, allocations: 258.2 kB / 0.6502 GB, free: 9.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5448, allocations: 11.94 kB / 0.6503 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5448, allocations: 0 / 0.6503 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.545, allocations: 52.83 kB / 0.6503 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.5454, allocations: 59.83 kB / 0.6504 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005489/0.5459, allocations: 0.5644 MB / 0.6509 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5461, allocations: 7.938 kB / 0.6509 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.5461, allocations: 32.19 kB / 0.651 GB, free: 8.879 MB / 494.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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.5463, allocations: 125.8 kB / 0.6511 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.5463, allocations: 11.95 kB / 0.6511 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.5472, allocations: 342.4 kB / 0.6514 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5472, allocations: 0 / 0.6514 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.5472, allocations: 7.938 kB / 0.6514 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.5472, allocations: 3.984 kB / 0.6514 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5484, allocations: 0.5394 MB / 0.652 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5484, allocations: 7.938 kB / 0.652 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.5487, allocations: 55.95 kB / 0.652 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.53e-05/0.5488, allocations: 20.84 kB / 0.652 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5488, allocations: 15.98 kB / 0.652 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.55, allocations: 1.245 MB / 0.6533 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.55, allocations: 4.031 kB / 0.6533 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.5509, allocations: 434.4 kB / 0.6537 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.5509, allocations: 7.984 kB / 0.6537 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.5509, allocations: 11.94 kB / 0.6537 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.5512, allocations: 4 kB / 0.6537 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.5512, allocations: 27.95 kB / 0.6537 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.5513, allocations: 24.72 kB / 0.6538 GB, free: 5.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.819e-05/0.5513, allocations: 95.2 kB / 0.6538 GB, free: 5.727 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 0 / 0.6538 GB, free: 5.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.5518, allocations: 83.88 kB / 0.6539 GB, free: 5.645 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004222/0.5522, allocations: 155 kB / 0.6541 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.5528, allocations: 204.2 kB / 0.6543 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5528, allocations: 0 / 0.6543 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.5532, allocations: 214.5 kB / 0.6545 GB, free: 5.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.5537, allocations: 56.12 kB / 0.6545 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.5548, allocations: 0.5054 MB / 0.655 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.5549, allocations: 89.97 kB / 0.6551 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5551, allocations: 55.41 kB / 0.6552 GB, free: 4.297 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5551, allocations: 0 / 0.6552 GB, free: 4.297 MB / 494.1 MB Notification: Performance of Templates: time 0.007815/0.5629, allocations: 3.861 MB / 0.6589 GB, free: 452 kB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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: 8.737494693137705]