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.001454/0.001454, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 75.88 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4469, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1823/0.6293, allocations: 139 MB / 0.6668 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.004934/0.6343, allocations: 4.719 MB / 0.6714 GB, free: 1.438 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.6344, allocations: 0 / 0.6714 GB, free: 1.438 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.6349, allocations: 71.58 kB / 0.6715 GB, free: 1.367 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.6367, allocations: 0.7344 MB / 0.6722 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.6371, allocations: 153.4 kB / 0.6723 GB, free: 496 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.6377, allocations: 374.1 kB / 0.6727 GB, free: 120 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.6377, allocations: 17.69 kB / 0.6727 GB, free: 104 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.638, allocations: 155.5 kB / 0.6728 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.6383, allocations: 187.3 kB / 0.673 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.6383, allocations: 8 kB / 0.673 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.6396, allocations: 0.7058 MB / 0.6737 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.6397, allocations: 43.81 kB / 0.6738 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.6399, allocations: 107.5 kB / 0.6739 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.6407, allocations: 483.1 kB / 0.6743 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6407, allocations: 3.938 kB / 0.6743 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6407, allocations: 4 kB / 0.6743 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6407, allocations: 0 / 0.6743 GB, free: 14.43 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.001141/0.6418, allocations: 0.6099 MB / 0.6749 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6419, allocations: 8.031 kB / 0.6749 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.6421, allocations: 24.84 kB / 0.675 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.6424, allocations: 232 kB / 0.6752 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.6426, allocations: 127.9 kB / 0.6753 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.6426, allocations: 24.38 kB / 0.6753 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.6431, allocations: 322.7 kB / 0.6756 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6431, allocations: 4 kB / 0.6756 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.6432, allocations: 12 kB / 0.6756 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6432, allocations: 11.94 kB / 0.6757 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.644, allocations: 0.743 MB / 0.6764 GB, free: 12.19 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.001357/0.6453, allocations: 1.222 MB / 0.6776 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.6458, allocations: 167.8 kB / 0.6777 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.6459, allocations: 93.41 kB / 0.6778 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002495/0.6485, allocations: 2.707 MB / 0.6805 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.6485, allocations: 38.56 kB / 0.6805 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.6485, allocations: 0 / 0.6805 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007252/0.6493, allocations: 224.7 kB / 0.6807 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.6493, allocations: 51.41 kB / 0.6808 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.6495, allocations: 220.1 kB / 0.681 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.6496, allocations: 25.7 kB / 0.681 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.6497, allocations: 219.5 kB / 0.6812 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.6498, allocations: 63.55 kB / 0.6813 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.6499, allocations: 78.05 kB / 0.6814 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.65, allocations: 330.8 kB / 0.6817 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.6501, allocations: 52.84 kB / 0.6817 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.6504, allocations: 321.1 kB / 0.682 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.6508, allocations: 420.3 kB / 0.6824 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6508, allocations: 8 kB / 0.6824 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005036/0.6513, allocations: 372.8 kB / 0.6828 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6514, allocations: 8.969 kB / 0.6828 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6514, allocations: 8 kB / 0.6828 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.6514, allocations: 19.94 kB / 0.6828 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.6517, allocations: 111.8 kB / 0.6829 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.6517, allocations: 19.92 kB / 0.6829 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.6519, allocations: 20 kB / 0.683 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.652, allocations: 32 kB / 0.683 GB, free: 4.453 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.0001194/0.6521, allocations: 145.6 kB / 0.6831 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.6522, allocations: 19.91 kB / 0.6832 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.6525, allocations: 159.8 kB / 0.6833 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6525, allocations: 0 / 0.6833 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6525, allocations: 0 / 0.6833 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6525, allocations: 0 / 0.6833 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.653, allocations: 452 kB / 0.6837 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.653, allocations: 0 / 0.6837 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.6532, allocations: 27.98 kB / 0.6838 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6532, allocations: 0 / 0.6838 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.6532, allocations: 8 kB / 0.6838 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6532, allocations: 0 / 0.6838 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6532, allocations: 48 / 0.6838 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.6535, allocations: 233 kB / 0.684 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.6536, allocations: 101 kB / 0.6841 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6536, allocations: 3.953 kB / 0.6841 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.6538, allocations: 12 kB / 0.6841 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.6539, allocations: 7.984 kB / 0.6841 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.6539, allocations: 15.92 kB / 0.6841 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001339/0.654, allocations: 148.5 kB / 0.6843 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.654, allocations: 0 / 0.6843 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005006/0.6545, allocations: 103.9 kB / 0.6844 GB, free: 2.922 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.0003089/0.6548, allocations: 151 kB / 0.6845 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.6552, allocations: 181.8 kB / 0.6847 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6552, allocations: 4.312 kB / 0.6847 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.6553, allocations: 35.92 kB / 0.6847 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.6557, allocations: 50.91 kB / 0.6848 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.6567, allocations: 0.514 MB / 0.6853 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.657, allocations: 0.7245 MB / 0.686 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.6572, allocations: 62.91 kB / 0.686 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.6572, allocations: 23.44 kB / 0.6861 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.6572, allocations: 3.938 kB / 0.6861 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of Templates: time 0.006703/0.6639, allocations: 3.24 MB / 0.6892 GB, free: 13.91 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