Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 196.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007951/0.0007952, allocations: 102.6 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2959/0.2959, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002392, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 63.09 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1303/0.3773, allocations: 138 MB / 0.6561 GB, free: 12.58 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.3791, allocations: 1.644 MB / 0.6577 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.3792, allocations: 0 / 0.6577 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.3795, allocations: 27.83 kB / 0.6577 GB, free: 10.74 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.3801, allocations: 215 kB / 0.6579 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3805, allocations: 103.7 kB / 0.658 GB, free: 10.43 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.3807, allocations: 207.2 kB / 0.6582 GB, free: 10.22 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.3808, allocations: 4 kB / 0.6582 GB, free: 10.22 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.381, allocations: 89.73 kB / 0.6583 GB, free: 10.13 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3811, allocations: 55.77 kB / 0.6584 GB, free: 10.08 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3811, allocations: 8 kB / 0.6584 GB, free: 10.07 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.3817, allocations: 263.7 kB / 0.6586 GB, free: 9.812 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.3817, allocations: 23.95 kB / 0.6586 GB, free: 9.789 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.3818, allocations: 73.44 kB / 0.6587 GB, free: 9.711 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.3823, allocations: 279.4 kB / 0.659 GB, free: 9.438 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3823, allocations: 3.938 kB / 0.659 GB, free: 9.434 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3823, allocations: 0 / 0.659 GB, free: 9.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3824, allocations: 0 / 0.659 GB, free: 9.434 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.0005074/0.3829, allocations: 387.3 kB / 0.6593 GB, free: 9.008 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3829, allocations: 12.03 kB / 0.6594 GB, free: 8.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.3848, allocations: 192.5 kB / 0.6595 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.385, allocations: 211.6 kB / 0.6597 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3851, allocations: 8 kB / 0.6597 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.3851, allocations: 8 kB / 0.6598 GB, free: 8.547 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.3855, allocations: 229.7 kB / 0.66 GB, free: 8.309 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3856, allocations: 4 kB / 0.66 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3856, allocations: 0 / 0.66 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3856, allocations: 0 / 0.66 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.386, allocations: 175.8 kB / 0.6601 GB, free: 8.133 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.0009439/0.387, allocations: 0.583 MB / 0.6607 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.3873, allocations: 134.5 kB / 0.6608 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3874, allocations: 72.83 kB / 0.6609 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3875, allocations: 4 kB / 0.6609 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3875, allocations: 38.55 kB / 0.661 GB, free: 7.227 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.3875, allocations: 0 / 0.661 GB, free: 7.227 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.004654/0.3921, allocations: 1.314 MB / 0.6622 GB, free: 5.816 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3922, allocations: 51.41 kB / 0.6623 GB, free: 5.754 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.3923, allocations: 113.8 kB / 0.6624 GB, free: 5.633 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3923, allocations: 25.7 kB / 0.6624 GB, free: 5.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.3924, allocations: 96.03 kB / 0.6625 GB, free: 5.504 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.3924, allocations: 70.94 kB / 0.6626 GB, free: 5.434 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.3925, allocations: 4 kB / 0.6626 GB, free: 5.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3926, allocations: 326.8 kB / 0.6629 GB, free: 5.102 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3927, allocations: 75.83 kB / 0.663 GB, free: 5.027 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3929, allocations: 101.8 kB / 0.6631 GB, free: 4.918 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.3932, allocations: 182.2 kB / 0.6632 GB, free: 4.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3932, allocations: 7.938 kB / 0.6632 GB, free: 4.723 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004526/0.3937, allocations: 254.3 kB / 0.6635 GB, free: 4.465 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3937, allocations: 4 kB / 0.6635 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3937, allocations: 4 kB / 0.6635 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.3939, allocations: 48.83 kB / 0.6635 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.3942, allocations: 59.88 kB / 0.6636 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003682/0.3946, allocations: 0.568 MB / 0.6642 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3947, allocations: 11.94 kB / 0.6642 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.3948, allocations: 20 kB / 0.6642 GB, free: 3.723 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 0.0001127/0.3949, allocations: 133.1 kB / 0.6643 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.395, allocations: 8 kB / 0.6643 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007701/0.3957, allocations: 343 kB / 0.6646 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3958, allocations: 4 kB / 0.6646 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3958, allocations: 0 / 0.6646 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3958, allocations: 3.984 kB / 0.6647 GB, free: 3.227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.3967, allocations: 0.6203 MB / 0.6653 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3967, allocations: 0 / 0.6653 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.397, allocations: 63.95 kB / 0.6653 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-05/0.3971, allocations: 16.84 kB / 0.6653 GB, free: 2.457 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3971, allocations: 19.92 kB / 0.6654 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007741/0.3979, allocations: 1.28 MB / 0.6666 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3979, allocations: 0 / 0.6666 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.3985, allocations: 426.8 kB / 0.667 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.3986, allocations: 92.89 kB / 0.6671 GB, free: 480 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3986, allocations: 8 kB / 0.6671 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3988, allocations: 8 kB / 0.6671 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.3989, allocations: 27.97 kB / 0.6671 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.3989, allocations: 31.98 kB / 0.6672 GB, free: 404 kB / 474.7 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.399, allocations: 87.27 kB / 0.6673 GB, free: 316 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.399, allocations: 0 / 0.6673 GB, free: 316 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.3993, allocations: 79.94 kB / 0.6673 GB, free: 236 kB / 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.0003193/0.3997, allocations: 155.2 kB / 0.6675 GB, free: 72 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.4001, allocations: 211.3 kB / 0.6677 GB, free: 15.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4001, allocations: 4.188 kB / 0.6677 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.4004, allocations: 214.6 kB / 0.6679 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4009, allocations: 44.39 kB / 0.6679 GB, free: 15.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.4017, allocations: 0.5786 MB / 0.6685 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.4019, allocations: 0.7088 MB / 0.6692 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.4024, allocations: 85.91 kB / 0.6693 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.4026, allocations: 51.41 kB / 0.6693 GB, free: 14.12 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4026, allocations: 0 / 0.6693 GB, free: 14.12 MB / 490.7 MB Notification: Performance of Templates: time 0.009104/0.4117, allocations: 5.45 MB / 0.6746 GB, free: 8.676 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches