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.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.00191/0.00191, allocations: 109.8 kB / 19.69 MB, free: 2.188 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.001433/0.001433, allocations: 189 kB / 22.98 MB, free: 5.016 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.794/1.794, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2537/0.2537, allocations: 44.23 MB / 330.2 MB, free: 9.559 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.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: 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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 75.83 kB / 467.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1459, allocations: 61.03 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4653/0.6112, allocations: 151.1 MB / 0.6641 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.6127, allocations: 0.983 MB / 0.6651 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.6128, allocations: 8 kB / 0.6651 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.6131, allocations: 31.77 kB / 0.6651 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007309/0.6138, allocations: 246.5 kB / 0.6653 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.6143, allocations: 115.6 kB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.6146, allocations: 171.3 kB / 0.6656 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.6147, allocations: 7.984 kB / 0.6656 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.6149, allocations: 91.62 kB / 0.6657 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.615, allocations: 51.77 kB / 0.6658 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.615, allocations: 8 kB / 0.6658 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.6156, allocations: 263.7 kB / 0.666 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.6156, allocations: 26.81 kB / 0.666 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.6157, allocations: 43.86 kB / 0.6661 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.6162, allocations: 289.9 kB / 0.6664 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6162, allocations: 0 / 0.6664 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6162, allocations: 0 / 0.6664 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.6162, allocations: 0 / 0.6664 GB, free: 10.15 MB / 0.4981 GB 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.0005906/0.6168, allocations: 325.9 kB / 0.6667 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6169, allocations: 12.03 kB / 0.6667 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.6189, allocations: 197.1 kB / 0.6669 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.6193, allocations: 150.6 kB / 0.667 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.6193, allocations: 7.938 kB / 0.667 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.6193, allocations: 8 kB / 0.667 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.6199, allocations: 220 kB / 0.6672 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6199, allocations: 4 kB / 0.6672 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.6199, allocations: 8 kB / 0.6672 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.62, allocations: 0 / 0.6672 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.6204, allocations: 175.8 kB / 0.6674 GB, free: 8.996 MB / 0.4981 GB 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.001175/0.6216, allocations: 0.5445 MB / 0.6679 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.622, allocations: 130.5 kB / 0.6681 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.6221, allocations: 68.77 kB / 0.6681 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.6222, allocations: 7.984 kB / 0.6681 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.6222, allocations: 38.55 kB / 0.6682 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 3.045e-06/0.6222, allocations: 3.984 kB / 0.6682 GB, free: 8.137 MB / 0.4981 GB 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.005293/0.6275, allocations: 1.148 MB / 0.6693 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.6275, allocations: 51.41 kB / 0.6694 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.6277, allocations: 121.7 kB / 0.6695 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.6277, allocations: 33.7 kB / 0.6695 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.6278, allocations: 96.08 kB / 0.6696 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.6278, allocations: 79.3 kB / 0.6697 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.6279, allocations: 49.7 kB / 0.6697 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6281, allocations: 318.8 kB / 0.67 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.6283, allocations: 67.97 kB / 0.6701 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.6285, allocations: 111.2 kB / 0.6702 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.6289, allocations: 183.3 kB / 0.6704 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6289, allocations: 1.375 kB / 0.6704 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005357/0.6294, allocations: 266.2 kB / 0.6706 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6294, allocations: 8 kB / 0.6706 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6294, allocations: 0 / 0.6706 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.6296, allocations: 48.83 kB / 0.6707 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.63, allocations: 51.97 kB / 0.6707 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/0.6305, allocations: 0.5758 MB / 0.6713 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.6306, allocations: 4 kB / 0.6713 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.6307, allocations: 27.98 kB / 0.6713 GB, free: 4.766 MB / 0.4981 GB 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.0001403/0.6308, allocations: 121.8 kB / 0.6714 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.6309, allocations: 7.953 kB / 0.6714 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/0.6317, allocations: 347 kB / 0.6718 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6317, allocations: 7.938 kB / 0.6718 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6317, allocations: 3.984 kB / 0.6718 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6317, allocations: 4 kB / 0.6718 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.6329, allocations: 0.5864 MB / 0.6724 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.6329, allocations: 0 / 0.6724 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.6332, allocations: 71.98 kB / 0.6724 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.913e-05/0.6333, allocations: 20.84 kB / 0.6725 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.6334, allocations: 11.98 kB / 0.6725 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.6345, allocations: 1.263 MB / 0.6737 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6345, allocations: 4.031 kB / 0.6737 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.6353, allocations: 438.5 kB / 0.6741 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.6353, allocations: 7.984 kB / 0.6741 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.6353, allocations: 8.562 kB / 0.6741 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.6356, allocations: 3.984 kB / 0.6741 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.6356, allocations: 27.95 kB / 0.6742 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.6357, allocations: 36.05 kB / 0.6742 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.6357, allocations: 83.27 kB / 0.6743 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6357, allocations: 0 / 0.6743 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004273/0.6362, allocations: 83.88 kB / 0.6744 GB, free: 1.438 MB / 0.4981 GB 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.0004472/0.6366, allocations: 155.7 kB / 0.6745 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.6372, allocations: 200.2 kB / 0.6747 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6372, allocations: 0 / 0.6747 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.6376, allocations: 226.9 kB / 0.6749 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.638, allocations: 44.12 kB / 0.675 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.639, allocations: 484 kB / 0.6754 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.6394, allocations: 0.7047 MB / 0.6761 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.6397, allocations: 78.27 kB / 0.6762 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.6398, allocations: 59.39 kB / 0.6762 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.6398, allocations: 0 / 0.6762 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.0112/0.651, allocations: 5.779 MB / 0.6819 GB, free: 9.66 MB / 0.5137 GB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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: 6.192087394185364]