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.002377/0.002377, allocations: 108 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002428/0.002428, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.179/2.179, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3178/0.3178, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.05 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1311, allocations: 62.44 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4691/0.6002, allocations: 137.1 MB / 0.6027 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.6057, allocations: 4.704 MB / 0.6073 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.6059, allocations: 0 / 0.6073 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.6064, allocations: 55.72 kB / 0.6074 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.6085, allocations: 0.6805 MB / 0.6081 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.6089, allocations: 151.9 kB / 0.6082 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.6095, allocations: 374.1 kB / 0.6086 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.6095, allocations: 13.67 kB / 0.6086 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.6098, allocations: 163.4 kB / 0.6087 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.6101, allocations: 203.3 kB / 0.6089 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.6101, allocations: 8 kB / 0.6089 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.6116, allocations: 0.7096 MB / 0.6096 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.6117, allocations: 43.81 kB / 0.6097 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.6118, allocations: 111.5 kB / 0.6098 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.6124, allocations: 329.3 kB / 0.6101 GB, free: 3.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6124, allocations: 0 / 0.6101 GB, free: 3.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6124, allocations: 0 / 0.6101 GB, free: 3.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.6124, allocations: 0 / 0.6101 GB, free: 3.164 MB / 446.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.001218/0.6136, allocations: 0.6032 MB / 0.6107 GB, free: 2.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6137, allocations: 8.031 kB / 0.6107 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.6139, allocations: 32.73 kB / 0.6107 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.6141, allocations: 224 kB / 0.6109 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.6143, allocations: 124.8 kB / 0.611 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.6143, allocations: 20.56 kB / 0.6111 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.6149, allocations: 334.7 kB / 0.6114 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6149, allocations: 0 / 0.6114 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.6149, allocations: 8 kB / 0.6114 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.615, allocations: 8 kB / 0.6114 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.6158, allocations: 0.739 MB / 0.6121 GB, free: 0.9453 MB / 446.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.001567/0.6174, allocations: 1.23 MB / 0.6133 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.6178, allocations: 175.3 kB / 0.6135 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.618, allocations: 93.47 kB / 0.6136 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0027/0.6207, allocations: 2.699 MB / 0.6162 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.6207, allocations: 34.56 kB / 0.6162 GB, free: 12.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.6208, allocations: 0 / 0.6162 GB, free: 12.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.000785/0.6215, allocations: 216.2 kB / 0.6164 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.6216, allocations: 63.33 kB / 0.6165 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.6218, allocations: 212.1 kB / 0.6167 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6219, allocations: 29.7 kB / 0.6167 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.622, allocations: 222.6 kB / 0.617 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.6221, allocations: 51.34 kB / 0.617 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6222, allocations: 82.03 kB / 0.6171 GB, free: 11.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6224, allocations: 326.8 kB / 0.6174 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.6225, allocations: 52.84 kB / 0.6174 GB, free: 10.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.6227, allocations: 313.2 kB / 0.6177 GB, free: 10.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.6232, allocations: 424.3 kB / 0.6181 GB, free: 9.812 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6232, allocations: 0 / 0.6181 GB, free: 9.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006051/0.6238, allocations: 385.5 kB / 0.6185 GB, free: 9.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6239, allocations: 14.41 kB / 0.6185 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.6239, allocations: 8 kB / 0.6185 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.6239, allocations: 12 kB / 0.6185 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.6243, allocations: 111.8 kB / 0.6187 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.6243, allocations: 19.92 kB / 0.6187 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6245, allocations: 23.94 kB / 0.6187 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.6246, allocations: 28 kB / 0.6187 GB, free: 9.219 MB / 462.1 MB 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.0001432/0.6247, allocations: 145.7 kB / 0.6189 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.6248, allocations: 19.81 kB / 0.6189 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.6251, allocations: 151.8 kB / 0.619 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.6252, allocations: 7.922 kB / 0.619 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6252, allocations: 8 kB / 0.619 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6252, allocations: 3.984 kB / 0.619 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.6258, allocations: 437.8 kB / 0.6195 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6258, allocations: 3.938 kB / 0.6195 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.6259, allocations: 31.92 kB / 0.6195 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.626, allocations: 0 / 0.6195 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.626, allocations: 4 kB / 0.6195 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.626, allocations: 3.438 kB / 0.6195 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.626, allocations: 8 kB / 0.6195 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.6263, allocations: 220.9 kB / 0.6197 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.6264, allocations: 100.9 kB / 0.6198 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.6264, allocations: 7.938 kB / 0.6198 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.6266, allocations: 15.98 kB / 0.6198 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.6267, allocations: 7.938 kB / 0.6198 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.6267, allocations: 7.984 kB / 0.6199 GB, free: 7.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.6268, allocations: 156.5 kB / 0.62 GB, free: 7.785 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6268, allocations: 3.938 kB / 0.62 GB, free: 7.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.6274, allocations: 88 kB / 0.6201 GB, free: 7.695 MB / 462.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.0003895/0.6278, allocations: 151.2 kB / 0.6202 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.6281, allocations: 193.9 kB / 0.6204 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6281, allocations: 0 / 0.6204 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.6282, allocations: 31.92 kB / 0.6204 GB, free: 7.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.6287, allocations: 58.7 kB / 0.6205 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.6297, allocations: 0.6035 MB / 0.6211 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.6302, allocations: 0.7285 MB / 0.6218 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.6303, allocations: 31.38 kB / 0.6218 GB, free: 5.836 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.6303, allocations: 0 / 0.6218 GB, free: 5.836 MB / 462.1 MB Notification: Performance of Templates: time 0.006427/0.6367, allocations: 3.321 MB / 0.6251 GB, free: 2.531 MB / 462.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches