Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 103.2 kB / 16.4 MB, free: 6.492 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.001489/0.001489, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.551/1.551, 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.2433/0.2433, allocations: 43.52 MB / 314.1 MB, free: 456 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.001647/0.001647, allocations: 73.45 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5683/0.7121, allocations: 136.2 MB / 0.6209 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.7175, allocations: 4.71 MB / 0.6255 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.7177, allocations: 4 kB / 0.6255 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.7182, allocations: 59.58 kB / 0.6255 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.7205, allocations: 0.7267 MB / 0.6263 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.7209, allocations: 163.3 kB / 0.6264 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.7216, allocations: 378.2 kB / 0.6268 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.141e-05/0.7216, allocations: 17.67 kB / 0.6268 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.7219, allocations: 147.5 kB / 0.6269 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.7222, allocations: 183.4 kB / 0.6271 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.7222, allocations: 12 kB / 0.6271 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.724, allocations: 0.6824 MB / 0.6278 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.7241, allocations: 51.75 kB / 0.6278 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.7243, allocations: 107.5 kB / 0.6279 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.7251, allocations: 461.5 kB / 0.6284 GB, free: 10.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7251, allocations: 0 / 0.6284 GB, free: 10.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7251, allocations: 0 / 0.6284 GB, free: 10.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.7251, allocations: 4 kB / 0.6284 GB, free: 10.74 MB / 478.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.001288/0.7264, allocations: 0.5969 MB / 0.629 GB, free: 10.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.7265, allocations: 11.89 kB / 0.629 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.7267, allocations: 32.66 kB / 0.629 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.7272, allocations: 224.1 kB / 0.6292 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.7274, allocations: 127.9 kB / 0.6293 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.7274, allocations: 20.56 kB / 0.6294 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.728, allocations: 326.7 kB / 0.6297 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.728, allocations: 0 / 0.6297 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.7281, allocations: 12 kB / 0.6297 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.7281, allocations: 11.98 kB / 0.6297 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.7289, allocations: 0.7352 MB / 0.6304 GB, free: 8.516 MB / 478.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.001551/0.7305, allocations: 1.222 MB / 0.6316 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.7309, allocations: 178.5 kB / 0.6318 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.7311, allocations: 93.47 kB / 0.6319 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002565/0.7337, allocations: 2.703 MB / 0.6345 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.7337, allocations: 31.12 kB / 0.6345 GB, free: 3.652 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.7337, allocations: 0 / 0.6345 GB, free: 3.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.000701/0.7344, allocations: 221.5 kB / 0.6347 GB, free: 3.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.7345, allocations: 55.34 kB / 0.6348 GB, free: 3.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.7347, allocations: 218.9 kB / 0.635 GB, free: 3.137 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.7347, allocations: 29.7 kB / 0.635 GB, free: 3.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.7349, allocations: 210.8 kB / 0.6352 GB, free: 2.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.7349, allocations: 59.27 kB / 0.6353 GB, free: 2.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.735, allocations: 85.94 kB / 0.6354 GB, free: 2.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7352, allocations: 326.8 kB / 0.6357 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.7353, allocations: 56.78 kB / 0.6357 GB, free: 2.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.7356, allocations: 328 kB / 0.636 GB, free: 1.898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.7361, allocations: 430.1 kB / 0.6365 GB, free: 1.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.7361, allocations: 7.625 kB / 0.6365 GB, free: 1.336 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005417/0.7367, allocations: 381.3 kB / 0.6368 GB, free: 0.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.7367, allocations: 12 kB / 0.6368 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.7367, allocations: 8 kB / 0.6368 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.7368, allocations: 12 kB / 0.6369 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.7371, allocations: 115.7 kB / 0.637 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.7371, allocations: 20.45 kB / 0.637 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.7373, allocations: 16 kB / 0.637 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.7374, allocations: 32 kB / 0.637 GB, free: 0.7461 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.7375, allocations: 145.7 kB / 0.6372 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.7376, allocations: 19.81 kB / 0.6372 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.7379, allocations: 159.9 kB / 0.6373 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7379, allocations: 7.875 kB / 0.6374 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7379, allocations: 4 kB / 0.6374 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7379, allocations: 3.984 kB / 0.6374 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.7385, allocations: 443.9 kB / 0.6378 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7385, allocations: 0 / 0.6378 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.7386, allocations: 31.98 kB / 0.6378 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7387, allocations: 4.062 kB / 0.6378 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.7387, allocations: 4 kB / 0.6378 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7387, allocations: 3.938 kB / 0.6378 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7387, allocations: 0 / 0.6378 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.7389, allocations: 221 kB / 0.638 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.739, allocations: 100.9 kB / 0.6381 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.7391, allocations: 15.91 kB / 0.6381 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.7393, allocations: 4 kB / 0.6382 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.7393, allocations: 7.984 kB / 0.6382 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7394, allocations: 11.98 kB / 0.6382 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.7395, allocations: 148.5 kB / 0.6383 GB, free: 15.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7395, allocations: 3.938 kB / 0.6383 GB, free: 15.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.74, allocations: 91.98 kB / 0.6384 GB, free: 15.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/0.7403, allocations: 159.1 kB / 0.6386 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.7406, allocations: 185.4 kB / 0.6387 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7406, allocations: 0.875 kB / 0.6387 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.7407, allocations: 36.53 kB / 0.6388 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.7411, allocations: 46.66 kB / 0.6388 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.7421, allocations: 479.8 kB / 0.6393 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.7425, allocations: 0.7245 MB / 0.64 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.7427, allocations: 54.88 kB / 0.64 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.7428, allocations: 23.44 kB / 0.6401 GB, free: 13.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7428, allocations: 7.938 kB / 0.6401 GB, free: 13.47 MB / 494.1 MB Notification: Performance of Templates: time 0.007075/0.7499, allocations: 3.193 MB / 0.6432 GB, free: 10.29 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches