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.001584/0.001584, allocations: 109 kB / 20.48 MB, free: 1.492 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.002177/0.002177, allocations: 210.8 kB / 23.79 MB, free: 4.707 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.593/1.593, allocations: 207.6 MB / 234.6 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.2365/0.2365, allocations: 44.24 MB / 331.1 MB, free: 9.527 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [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.002229/0.002229, allocations: 71.89 kB / 468.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1264, allocations: 61.04 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4407/0.5671, allocations: 151.1 MB / 0.6644 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.5687, allocations: 0.9809 MB / 0.6654 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.5687, allocations: 4 kB / 0.6654 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.569, allocations: 35.75 kB / 0.6654 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.5698, allocations: 242.5 kB / 0.6657 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.5702, allocations: 129.4 kB / 0.6658 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.5705, allocations: 167.2 kB / 0.6659 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.5705, allocations: 11.97 kB / 0.666 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.5707, allocations: 83.69 kB / 0.666 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.5709, allocations: 55.77 kB / 0.6661 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.5709, allocations: 4 kB / 0.6661 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.5715, allocations: 267.7 kB / 0.6664 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.5715, allocations: 19.92 kB / 0.6664 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.5716, allocations: 47.78 kB / 0.6664 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.5721, allocations: 285.4 kB / 0.6667 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5722, allocations: 0 / 0.6667 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5722, allocations: 0 / 0.6667 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5722, allocations: 0 / 0.6667 GB, free: 10.39 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.0005819/0.5727, allocations: 333.9 kB / 0.667 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5728, allocations: 8.031 kB / 0.667 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.069e-05/0.5728, allocations: 4.188 kB / 0.667 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.5728, allocations: 38.75 kB / 0.6671 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.5749, allocations: 197.1 kB / 0.6672 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.5752, allocations: 155.8 kB / 0.6674 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5753, allocations: 8 kB / 0.6674 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.5753, allocations: 8 kB / 0.6674 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.5759, allocations: 224 kB / 0.6676 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5759, allocations: 0 / 0.6676 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.5759, allocations: 8 kB / 0.6676 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5759, allocations: 0 / 0.6676 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.5764, allocations: 167.9 kB / 0.6678 GB, free: 9.191 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.001076/0.5775, allocations: 0.5483 MB / 0.6683 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.5778, allocations: 130.5 kB / 0.6684 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.578, allocations: 68.83 kB / 0.6685 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.578, allocations: 4 kB / 0.6685 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.578, allocations: 38.5 kB / 0.6686 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.578, allocations: 0 / 0.6686 GB, free: 8.336 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.005307/0.5833, allocations: 1.156 MB / 0.6697 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.5834, allocations: 63.36 kB / 0.6697 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5835, allocations: 117.8 kB / 0.6699 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.5835, allocations: 25.7 kB / 0.6699 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.5836, allocations: 96.03 kB / 0.67 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.5837, allocations: 71.38 kB / 0.67 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5838, allocations: 57.69 kB / 0.6701 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5839, allocations: 314.8 kB / 0.6704 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5841, allocations: 71.89 kB / 0.6705 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5843, allocations: 107.4 kB / 0.6706 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.5846, allocations: 183.3 kB / 0.6707 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.5846, allocations: 2.312 kB / 0.6707 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000544/0.5852, allocations: 258.2 kB / 0.671 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5852, allocations: 8 kB / 0.671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5852, allocations: 0 / 0.671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.5854, allocations: 56.77 kB / 0.6711 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.5857, allocations: 51.91 kB / 0.6711 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006191/0.5863, allocations: 0.5718 MB / 0.6717 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.5865, allocations: 8.031 kB / 0.6717 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.5865, allocations: 31.98 kB / 0.6717 GB, free: 4.961 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.0001369/0.5867, allocations: 117.8 kB / 0.6718 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.5867, allocations: 7.953 kB / 0.6718 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/0.5875, allocations: 354.7 kB / 0.6722 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5875, allocations: 0 / 0.6722 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.5875, allocations: 0 / 0.6722 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5875, allocations: 0 / 0.6722 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5887, allocations: 0.6026 MB / 0.6727 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5887, allocations: 0 / 0.6727 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.589, allocations: 59.89 kB / 0.6728 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.837e-05/0.5891, allocations: 24.84 kB / 0.6728 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.5891, allocations: 12 kB / 0.6728 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.5902, allocations: 1.26 MB / 0.6741 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5902, allocations: 0 / 0.6741 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.5909, allocations: 442.6 kB / 0.6745 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.5909, allocations: 11.94 kB / 0.6745 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.591, allocations: 4 kB / 0.6745 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.5912, allocations: 8 kB / 0.6745 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.5912, allocations: 28.03 kB / 0.6745 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.5913, allocations: 27.98 kB / 0.6746 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.5914, allocations: 87.27 kB / 0.6746 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5914, allocations: 3.938 kB / 0.6747 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004231/0.5918, allocations: 83.88 kB / 0.6747 GB, free: 1.633 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.001383/0.5932, allocations: 1.016 MB / 0.6757 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.5937, allocations: 195.9 kB / 0.6759 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5937, allocations: 0 / 0.6759 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.5941, allocations: 226.8 kB / 0.6761 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.5946, allocations: 48.42 kB / 0.6762 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.5978, allocations: 2.078 MB / 0.6782 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.5982, allocations: 0.7047 MB / 0.6789 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003097/0.5985, allocations: 77.39 kB / 0.679 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.5987, allocations: 71.41 kB / 0.679 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.5987, allocations: 0 / 0.679 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.6459, allocations: 7.555 MB / 0.6864 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.65, allocations: 8 kB / 0.6864 GB, free: 5.469 MB / 0.5137 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] 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: 17.02874045696808]