Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 117.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2494/0.2494, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 71.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4088, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1809/0.5898, allocations: 139 MB / 0.6668 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005181/0.595, allocations: 4.715 MB / 0.6714 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.5952, allocations: 4 kB / 0.6714 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.5956, allocations: 67.58 kB / 0.6715 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.5976, allocations: 0.7306 MB / 0.6722 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.598, allocations: 164.2 kB / 0.6723 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.5985, allocations: 374.1 kB / 0.6727 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.5986, allocations: 17.69 kB / 0.6727 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.5988, allocations: 151.5 kB / 0.6728 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.5991, allocations: 187.4 kB / 0.673 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.5991, allocations: 12 kB / 0.673 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.6004, allocations: 0.698 MB / 0.6737 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.6005, allocations: 43.83 kB / 0.6738 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.6007, allocations: 111.5 kB / 0.6739 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.6014, allocations: 468.6 kB / 0.6743 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.6014, allocations: 0 / 0.6743 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6014, allocations: 0 / 0.6743 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.6014, allocations: 0 / 0.6743 GB, free: 14.46 MB / 0.5294 GB 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.001161/0.6026, allocations: 0.5969 MB / 0.6749 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6027, allocations: 12.02 kB / 0.6749 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.6028, allocations: 28.75 kB / 0.6749 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.6032, allocations: 232 kB / 0.6752 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.6034, allocations: 123.9 kB / 0.6753 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.6034, allocations: 20.38 kB / 0.6753 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.6039, allocations: 330.7 kB / 0.6756 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.604, allocations: 0 / 0.6756 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.604, allocations: 12 kB / 0.6756 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.604, allocations: 7.938 kB / 0.6756 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/0.6049, allocations: 0.743 MB / 0.6764 GB, free: 12.24 MB / 0.5294 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.001286/0.6061, allocations: 1.226 MB / 0.6775 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.6066, allocations: 171.8 kB / 0.6777 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.6067, allocations: 89.42 kB / 0.6778 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/0.6091, allocations: 2.699 MB / 0.6804 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.6091, allocations: 42.56 kB / 0.6805 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.6091, allocations: 0 / 0.6805 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007523/0.6099, allocations: 224.1 kB / 0.6807 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6099, allocations: 51.41 kB / 0.6807 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.6102, allocations: 220 kB / 0.6809 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.6102, allocations: 33.7 kB / 0.681 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6103, allocations: 214.7 kB / 0.6812 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.6105, allocations: 51.34 kB / 0.6812 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.6106, allocations: 82.03 kB / 0.6813 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6107, allocations: 322.8 kB / 0.6816 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.6108, allocations: 56.83 kB / 0.6817 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.6112, allocations: 321.1 kB / 0.682 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.6116, allocations: 424.3 kB / 0.6824 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6116, allocations: 4 kB / 0.6824 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000505/0.6121, allocations: 377.4 kB / 0.6827 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6121, allocations: 8.219 kB / 0.6828 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6121, allocations: 16 kB / 0.6828 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.6122, allocations: 15.94 kB / 0.6828 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.6125, allocations: 107.8 kB / 0.6829 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.6125, allocations: 19.88 kB / 0.6829 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.6127, allocations: 16 kB / 0.6829 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.6128, allocations: 28 kB / 0.6829 GB, free: 4.516 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0001255/0.6129, allocations: 153.6 kB / 0.6831 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.613, allocations: 19.81 kB / 0.6831 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.6133, allocations: 147.8 kB / 0.6833 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.6133, allocations: 0 / 0.6833 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6133, allocations: 4 kB / 0.6833 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6133, allocations: 0 / 0.6833 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.6138, allocations: 444 kB / 0.6837 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.6138, allocations: 0 / 0.6837 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.614, allocations: 31.98 kB / 0.6837 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.614, allocations: 0 / 0.6837 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.614, allocations: 7.984 kB / 0.6837 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.614, allocations: 0 / 0.6837 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.614, allocations: 0 / 0.6837 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.6143, allocations: 236.9 kB / 0.6839 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.6144, allocations: 96.91 kB / 0.684 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.6144, allocations: 15.88 kB / 0.6841 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.6146, allocations: 7.984 kB / 0.6841 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.6146, allocations: 7.984 kB / 0.6841 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.6147, allocations: 11.94 kB / 0.6841 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001285/0.6148, allocations: 156.5 kB / 0.6842 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6148, allocations: 0 / 0.6842 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004642/0.6153, allocations: 92 kB / 0.6843 GB, free: 2.988 MB / 0.5294 GB 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.0003242/0.6156, allocations: 159.2 kB / 0.6845 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.616, allocations: 180.9 kB / 0.6846 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.616, allocations: 0 / 0.6846 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.616, allocations: 35.92 kB / 0.6847 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.6165, allocations: 49.28 kB / 0.6847 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.6174, allocations: 0.5064 MB / 0.6852 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.6178, allocations: 0.7284 MB / 0.6859 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.618, allocations: 58.92 kB / 0.686 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.618, allocations: 23.44 kB / 0.686 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.618, allocations: 3.938 kB / 0.686 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of Templates: time 0.007178/0.6252, allocations: 3.257 MB / 0.6892 GB, free: 13.97 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches