Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009713/0.0009713, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.96/0.96, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2744/0.2744, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 3.938 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/2.031e-05, allocations: 13.03 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3084/0.3085, allocations: 131.4 MB / 0.5601 GB, free: 13.16 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.3094, allocations: 0.9616 MB / 0.561 GB, free: 12.2 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.3094, allocations: 0 / 0.561 GB, free: 12.2 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.3097, allocations: 27.78 kB / 0.561 GB, free: 12.17 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.3102, allocations: 278.3 kB / 0.5613 GB, free: 11.9 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.3107, allocations: 123.6 kB / 0.5614 GB, free: 11.78 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3108, allocations: 179.1 kB / 0.5616 GB, free: 11.6 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3109, allocations: 8 kB / 0.5616 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3111, allocations: 123.6 kB / 0.5617 GB, free: 11.47 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.3112, allocations: 55.8 kB / 0.5618 GB, free: 11.42 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3112, allocations: 8 kB / 0.5618 GB, free: 11.41 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.3115, allocations: 247.6 kB / 0.562 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.3115, allocations: 31.89 kB / 0.5621 GB, free: 11.14 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.3116, allocations: 27.94 kB / 0.5621 GB, free: 11.11 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.3119, allocations: 327.1 kB / 0.5624 GB, free: 10.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3119, allocations: 0 / 0.5624 GB, free: 10.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3119, allocations: 0 / 0.5624 GB, free: 10.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3119, allocations: 0 / 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.0004624/0.3124, allocations: 338.5 kB / 0.5627 GB, free: 10.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3124, allocations: 12.03 kB / 0.5627 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3125, allocations: 34.75 kB / 0.5628 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.3135, allocations: 215.1 kB / 0.563 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3138, allocations: 153.6 kB / 0.5631 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3138, allocations: 7.938 kB / 0.5631 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3138, allocations: 16 kB / 0.5631 GB, free: 9.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3142, allocations: 293.2 kB / 0.5634 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3142, allocations: 0 / 0.5634 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3142, allocations: 8 kB / 0.5634 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3142, allocations: 0 / 0.5634 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.3145, allocations: 171.8 kB / 0.5636 GB, free: 9.48 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.000708/0.3152, allocations: 0.5311 MB / 0.5641 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3154, allocations: 138.4 kB / 0.5642 GB, free: 8.758 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.3155, allocations: 68.33 kB / 0.5643 GB, free: 8.691 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3155, allocations: 0 / 0.5643 GB, free: 8.691 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3155, allocations: 38.56 kB / 0.5643 GB, free: 8.645 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.3155, allocations: 0 / 0.5643 GB, free: 8.645 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.002729/0.3182, allocations: 1.147 MB / 0.5655 GB, free: 7.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.3183, allocations: 55.41 kB / 0.5655 GB, free: 7.387 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.3183, allocations: 116.3 kB / 0.5656 GB, free: 7.266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3184, allocations: 25.7 kB / 0.5656 GB, free: 7.234 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.3184, allocations: 104 kB / 0.5657 GB, free: 7.129 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3184, allocations: 67.42 kB / 0.5658 GB, free: 7.062 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.3185, allocations: 56.94 kB / 0.5659 GB, free: 7.004 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.3186, allocations: 322.8 kB / 0.5662 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.3187, allocations: 63.97 kB / 0.5662 GB, free: 6.617 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3188, allocations: 111.3 kB / 0.5663 GB, free: 6.496 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.319, allocations: 181.5 kB / 0.5665 GB, free: 6.309 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.319, allocations: 4 kB / 0.5665 GB, free: 6.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002955/0.3193, allocations: 262.2 kB / 0.5668 GB, free: 6.043 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3193, allocations: 4 kB / 0.5668 GB, free: 6.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3193, allocations: 8.656 kB / 0.5668 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.3194, allocations: 48.83 kB / 0.5668 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3196, allocations: 59.89 kB / 0.5669 GB, free: 5.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002722/0.3198, allocations: 0.5602 MB / 0.5674 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.3199, allocations: 12.02 kB / 0.5674 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.32, allocations: 27.98 kB / 0.5675 GB, free: 5.297 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.739e-05/0.32, allocations: 126.7 kB / 0.5676 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3201, allocations: 11.94 kB / 0.5676 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.3205, allocations: 344.1 kB / 0.5679 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3205, allocations: 3.938 kB / 0.5679 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.3205, allocations: 3.25 kB / 0.5679 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3205, allocations: 7.938 kB / 0.5679 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009556/0.3215, allocations: 0.5746 MB / 0.5685 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3215, allocations: 4.094 kB / 0.5685 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3216, allocations: 63.95 kB / 0.5686 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.396e-05/0.3217, allocations: 18.34 kB / 0.5686 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.3217, allocations: 15.98 kB / 0.5686 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005593/0.3223, allocations: 1.256 MB / 0.5698 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3223, allocations: 4.156 kB / 0.5698 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.3227, allocations: 433.8 kB / 0.5702 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.3227, allocations: 11.98 kB / 0.5703 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3227, allocations: 7.984 kB / 0.5703 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3228, allocations: 8 kB / 0.5703 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.3228, allocations: 27.92 kB / 0.5703 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.3228, allocations: 23.98 kB / 0.5703 GB, free: 2.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.3229, allocations: 95.52 kB / 0.5704 GB, free: 2.074 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 0.5704 GB, free: 2.074 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.3231, allocations: 87.94 kB / 0.5705 GB, free: 1.988 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.0007282/0.3239, allocations: 1.005 MB / 0.5715 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3242, allocations: 201.7 kB / 0.5717 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3242, allocations: 7.938 kB / 0.5717 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3244, allocations: 209.8 kB / 0.5719 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3246, allocations: 54.3 kB / 0.5719 GB, free: 484 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3262, allocations: 2.013 MB / 0.5739 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.3263, allocations: 90.09 kB / 0.574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3265, allocations: 80.89 kB / 0.5741 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3266, allocations: 72.44 kB / 0.5741 GB, free: 14.1 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3266, allocations: 4 kB / 0.5741 GB, free: 14.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.3476, allocations: 7.993 MB / 0.5819 GB, free: 6.254 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.441, allocations: 0 / 0.5819 GB, free: 6.254 MB / 490.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/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_trunk_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.659151722677052]