Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.000921/0.000921, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001262/0.001262, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8782/0.8782, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 34.24 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.38e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2845/0.2845, allocations: 131.4 MB / 0.5601 GB, free: 13.16 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.2854, allocations: 0.9616 MB / 0.561 GB, free: 12.2 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.2855, allocations: 0 / 0.561 GB, free: 12.2 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.2858, allocations: 31.77 kB / 0.5611 GB, free: 12.17 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007143/0.2865, allocations: 278.3 kB / 0.5613 GB, free: 11.89 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2869, allocations: 125.2 kB / 0.5614 GB, free: 11.77 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.2871, allocations: 183.1 kB / 0.5616 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.2872, allocations: 10.92 kB / 0.5616 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.2874, allocations: 119.6 kB / 0.5617 GB, free: 11.47 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.2875, allocations: 47.88 kB / 0.5618 GB, free: 11.42 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2875, allocations: 4 kB / 0.5618 GB, free: 11.42 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.2879, allocations: 263.5 kB / 0.562 GB, free: 11.16 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.2879, allocations: 19.91 kB / 0.5621 GB, free: 11.14 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.288, allocations: 27.98 kB / 0.5621 GB, free: 11.11 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.2883, allocations: 331.1 kB / 0.5624 GB, free: 10.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2883, allocations: 0 / 0.5624 GB, free: 10.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2883, allocations: 0 / 0.5624 GB, free: 10.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2883, allocations: 4 kB / 0.5624 GB, free: 10.79 MB / 474.7 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.0004226/0.2888, allocations: 334.5 kB / 0.5627 GB, free: 10.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2888, allocations: 8.031 kB / 0.5627 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.2888, allocations: 46.73 kB / 0.5628 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.2899, allocations: 207.9 kB / 0.563 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2902, allocations: 153.6 kB / 0.5631 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2903, allocations: 15.94 kB / 0.5631 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.2903, allocations: 4 kB / 0.5631 GB, free: 9.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.2907, allocations: 302.7 kB / 0.5634 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2907, allocations: 0 / 0.5634 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2907, allocations: 1.5 kB / 0.5634 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2907, allocations: 4 kB / 0.5634 GB, free: 9.645 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.291, allocations: 171.8 kB / 0.5636 GB, free: 9.477 MB / 474.7 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.0007122/0.2917, allocations: 0.5237 MB / 0.5641 GB, free: 8.906 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.2919, allocations: 134.5 kB / 0.5642 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.292, allocations: 79.95 kB / 0.5643 GB, free: 8.691 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.292, allocations: 0 / 0.5643 GB, free: 8.691 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.292, allocations: 34.56 kB / 0.5643 GB, free: 8.648 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.292, allocations: 0 / 0.5643 GB, free: 8.648 MB / 474.7 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.002911/0.2949, allocations: 1.148 MB / 0.5655 GB, free: 7.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.295, allocations: 61.69 kB / 0.5655 GB, free: 7.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.295, allocations: 109.8 kB / 0.5656 GB, free: 7.266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2951, allocations: 29.7 kB / 0.5657 GB, free: 7.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2951, allocations: 95.98 kB / 0.5658 GB, free: 7.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.2952, allocations: 71.41 kB / 0.5658 GB, free: 7.062 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.2952, allocations: 60.94 kB / 0.5659 GB, free: 7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/0.2956, allocations: 318.8 kB / 0.5662 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.2957, allocations: 71.95 kB / 0.5663 GB, free: 6.609 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2958, allocations: 109.6 kB / 0.5664 GB, free: 6.492 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.296, allocations: 186.9 kB / 0.5665 GB, free: 6.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.296, allocations: 0 / 0.5665 GB, free: 6.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000316/0.2963, allocations: 258.3 kB / 0.5668 GB, free: 6.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2963, allocations: 8 kB / 0.5668 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2963, allocations: 0 / 0.5668 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.2965, allocations: 53.89 kB / 0.5668 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.2967, allocations: 55.91 kB / 0.5669 GB, free: 5.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003004/0.297, allocations: 0.5617 MB / 0.5674 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.297, allocations: 8.031 kB / 0.5674 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.2971, allocations: 27.98 kB / 0.5675 GB, free: 5.301 MB / 474.7 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 9.616e-05/0.2972, allocations: 131 kB / 0.5676 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.2972, allocations: 7.953 kB / 0.5676 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.2977, allocations: 349.5 kB / 0.5679 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2977, allocations: 7.938 kB / 0.5679 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2977, allocations: 0 / 0.5679 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2977, allocations: 0 / 0.5679 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.2983, allocations: 0.5885 MB / 0.5685 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2983, allocations: 0 / 0.5685 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.2985, allocations: 55.95 kB / 0.5686 GB, free: 4.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-05/0.2986, allocations: 24.84 kB / 0.5686 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2986, allocations: 12 kB / 0.5686 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006176/0.2992, allocations: 1.259 MB / 0.5698 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2992, allocations: 0 / 0.5698 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.2996, allocations: 438.5 kB / 0.5703 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.2996, allocations: 7.984 kB / 0.5703 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2997, allocations: 8 kB / 0.5703 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2998, allocations: 7.984 kB / 0.5703 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.2998, allocations: 27.92 kB / 0.5703 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.2998, allocations: 29.98 kB / 0.5703 GB, free: 2.164 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.523e-05/0.2999, allocations: 91.58 kB / 0.5704 GB, free: 2.074 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2999, allocations: 4.125 kB / 0.5704 GB, free: 2.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.3002, allocations: 87.86 kB / 0.5705 GB, free: 1.984 MB / 474.7 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.0008218/0.301, allocations: 1.012 MB / 0.5715 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.3013, allocations: 199.5 kB / 0.5717 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3013, allocations: 4 kB / 0.5717 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3015, allocations: 215.1 kB / 0.5719 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3018, allocations: 46.36 kB / 0.5719 GB, free: 480 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3039, allocations: 2.011 MB / 0.5739 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.008e-05/0.304, allocations: 94.09 kB / 0.574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.3042, allocations: 75.84 kB / 0.5741 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3043, allocations: 72.45 kB / 0.5741 GB, free: 14.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3043, allocations: 0 / 0.5741 GB, free: 14.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.3266, allocations: 7.989 MB / 0.5819 GB, free: 6.266 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.269, allocations: 7.203 kB / 0.582 GB, free: 6.262 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.179071456193924]