Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 105.2 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 189.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.223/0.223, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 254.1 MB 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.001537/0.001537, allocations: 69.45 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5342/0.6817, allocations: 151.4 MB / 0.6357 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009082/0.6909, allocations: 6.972 MB / 0.6425 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.6912, allocations: 4 kB / 0.6425 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.6916, allocations: 59.59 kB / 0.6426 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.6969, allocations: 1.451 MB / 0.644 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.6974, allocations: 138.4 kB / 0.6441 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.6982, allocations: 398.1 kB / 0.6445 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.6983, allocations: 13.69 kB / 0.6445 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.6986, allocations: 171.4 kB / 0.6447 GB, free: 9.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.6989, allocations: 171.4 kB / 0.6449 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.699, allocations: 8 kB / 0.6449 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.7019, allocations: 1.233 MB / 0.6461 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.7021, allocations: 47.81 kB / 0.6461 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.7023, allocations: 111.5 kB / 0.6462 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.7045, allocations: 0.9628 MB / 0.6472 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.7045, allocations: 0 / 0.6472 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7046, allocations: 0 / 0.6472 GB, free: 7.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.7046, allocations: 3.938 kB / 0.6472 GB, free: 7.434 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001653/0.7062, allocations: 0.7062 MB / 0.6479 GB, free: 6.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.7063, allocations: 15.89 kB / 0.6479 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007636/0.7139, allocations: 0.594 MB / 0.6485 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.7146, allocations: 264.3 kB / 0.6487 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.7147, allocations: 123.3 kB / 0.6488 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.7148, allocations: 24 kB / 0.6489 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.7161, allocations: 0.5633 MB / 0.6494 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7161, allocations: 0 / 0.6494 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.7162, allocations: 12 kB / 0.6494 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.7162, allocations: 4 kB / 0.6494 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.7176, allocations: 0.6338 MB / 0.65 GB, free: 4.355 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.002174/0.7198, allocations: 1.649 MB / 0.6516 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.7202, allocations: 150.5 kB / 0.6518 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.7204, allocations: 84.86 kB / 0.6519 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.7219, allocations: 1.307 MB / 0.6531 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.722, allocations: 34.56 kB / 0.6532 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.515e-06/0.722, allocations: 0 / 0.6532 GB, free: 0.7852 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=18): time 0.001142/0.7231, allocations: 331.8 kB / 0.6535 GB, free: 468 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7232, allocations: 63.33 kB / 0.6536 GB, free: 392 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.7234, allocations: 187.3 kB / 0.6537 GB, free: 192 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.7234, allocations: 25.7 kB / 0.6538 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.7236, allocations: 191.1 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.7236, allocations: 63.2 kB / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.7238, allocations: 97.86 kB / 0.6541 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7239, allocations: 322.8 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.724, allocations: 64.7 kB / 0.6545 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.7243, allocations: 267.8 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.7249, allocations: 366.2 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.7249, allocations: 4 kB / 0.6551 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006827/0.7256, allocations: 369 kB / 0.6554 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.7256, allocations: 11.98 kB / 0.6554 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.7257, allocations: 8 kB / 0.6554 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.7257, allocations: 8 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.7261, allocations: 127.8 kB / 0.6556 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004156/0.7266, allocations: 0.6056 MB / 0.6562 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.7268, allocations: 47.53 kB / 0.6562 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.7269, allocations: 39.98 kB / 0.6563 GB, free: 13.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.727, allocations: 153.5 kB / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.7271, allocations: 23.75 kB / 0.6564 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.7278, allocations: 295.2 kB / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.7278, allocations: 3.984 kB / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7278, allocations: 0 / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.7278, allocations: 4 kB / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.7285, allocations: 0.5139 MB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.7286, allocations: 4 kB / 0.6572 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.7288, allocations: 57.02 kB / 0.6573 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7288, allocations: 4 kB / 0.6573 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.7288, allocations: 8 kB / 0.6573 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000417/0.7292, allocations: 0.6017 MB / 0.6579 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7293, allocations: 0 / 0.6579 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.7296, allocations: 271.3 kB / 0.6581 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.7297, allocations: 112.8 kB / 0.6582 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.7298, allocations: 7.938 kB / 0.6582 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.73, allocations: 15.67 kB / 0.6583 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.73, allocations: 15.92 kB / 0.6583 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.7301, allocations: 19.98 kB / 0.6583 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001387/0.7302, allocations: 140.2 kB / 0.6584 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7302, allocations: 0 / 0.6584 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007355/0.731, allocations: 188 kB / 0.6586 GB, free: 10.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007552/0.7317, allocations: 317 kB / 0.6589 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.7323, allocations: 227.8 kB / 0.6591 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7323, allocations: 0 / 0.6591 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.7325, allocations: 81.45 kB / 0.6592 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.7331, allocations: 72.83 kB / 0.6593 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.7363, allocations: 1.946 MB / 0.6612 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.7366, allocations: 0.7206 MB / 0.6619 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003847/0.7369, allocations: 107.7 kB / 0.662 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.7371, allocations: 43.41 kB / 0.662 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.7371, allocations: 0 / 0.662 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.01079/0.7479, allocations: 6.164 MB / 0.668 GB, free: 1.098 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches