Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 80.17 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5075, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03769/0.5453, allocations: 30.22 MB / 0.5605 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.5679, allocations: 17.63 MB / 0.5777 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.5685, allocations: 11.94 kB / 0.5777 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008338/0.5694, allocations: 222.5 kB / 0.5779 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007559/0.5702, allocations: 282.4 kB / 0.5782 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01987/0.59, allocations: 6.048 MB / 0.5841 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.5915, allocations: 0.842 MB / 0.5849 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.5919, allocations: 244.8 kB / 0.5852 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.603, allocations: 5.462 MB / 0.5905 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.6036, allocations: 243 kB / 0.5907 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.6037, allocations: 32 kB / 0.5908 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.6172, allocations: 6.326 MB / 0.5969 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.6175, allocations: 95.61 kB / 0.597 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.6178, allocations: 195.1 kB / 0.5972 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.6301, allocations: 3.844 MB / 0.601 GB, free: 9.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.6301, allocations: 4 kB / 0.601 GB, free: 9.836 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6301, allocations: 3.938 kB / 0.601 GB, free: 9.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.6302, allocations: 4 kB / 0.601 GB, free: 9.828 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003749/0.6339, allocations: 1.048 MB / 0.602 GB, free: 8.734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.634, allocations: 8.031 kB / 0.602 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.6357, allocations: 208.3 kB / 0.6022 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.6364, allocations: 350.5 kB / 0.6025 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.6365, allocations: 24.94 kB / 0.6026 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.6365, allocations: 24.38 kB / 0.6026 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.6379, allocations: 490.8 kB / 0.6031 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6379, allocations: 0 / 0.6031 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.6379, allocations: 12 kB / 0.6031 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.638, allocations: 8 kB / 0.6031 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.6391, allocations: 417.2 kB / 0.6035 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.6423, allocations: 2.415 MB / 0.6058 GB, free: 4.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.6434, allocations: 330.2 kB / 0.6062 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.6437, allocations: 112.8 kB / 0.6063 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03287/0.6766, allocations: 18.38 MB / 0.6242 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.6767, allocations: 42.5 kB / 0.6242 GB, free: 15.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.345e-06/0.6767, allocations: 0 / 0.6242 GB, free: 15.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002066/0.6788, allocations: 0.5205 MB / 0.6248 GB, free: 14.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.6788, allocations: 102.8 kB / 0.6249 GB, free: 14.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.6793, allocations: 324.4 kB / 0.6252 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.6793, allocations: 33.7 kB / 0.6252 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6794, allocations: 211.6 kB / 0.6254 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.6795, allocations: 47.34 kB / 0.6254 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6796, allocations: 69.59 kB / 0.6255 GB, free: 13.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6798, allocations: 338.8 kB / 0.6258 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.68, allocations: 91.92 kB / 0.6259 GB, free: 13.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.6804, allocations: 207.4 kB / 0.6261 GB, free: 13.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.6809, allocations: 304.6 kB / 0.6264 GB, free: 12.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.681, allocations: 0 / 0.6264 GB, free: 12.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007259/0.6817, allocations: 336.8 kB / 0.6267 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6817, allocations: 4 kB / 0.6267 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.6817, allocations: 4 kB / 0.6267 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.6818, allocations: 12.41 kB / 0.6267 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.682, allocations: 71.89 kB / 0.6268 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.6821, allocations: 11.92 kB / 0.6268 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.6823, allocations: 51.59 kB / 0.6269 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.6823, allocations: 12 kB / 0.6269 GB, free: 12.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * 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.0001617/0.6825, allocations: 157.7 kB / 0.627 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.6826, allocations: 31.62 kB / 0.6271 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.684, allocations: 1.105 MB / 0.6281 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.684, allocations: 15.97 kB / 0.6282 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.684, allocations: 3.938 kB / 0.6282 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.684, allocations: 4 kB / 0.6282 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.6847, allocations: 0.6638 MB / 0.6288 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6847, allocations: 0 / 0.6288 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.6849, allocations: 47.95 kB / 0.6289 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.6849, allocations: 4 kB / 0.6289 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.6849, allocations: 7.922 kB / 0.6289 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6849, allocations: 0 / 0.6289 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6849, allocations: 4 kB / 0.6289 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/0.6858, allocations: 0.6253 MB / 0.6295 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.6859, allocations: 128.4 kB / 0.6296 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.686, allocations: 27.62 kB / 0.6296 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.6862, allocations: 19.98 kB / 0.6297 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.6863, allocations: 19.97 kB / 0.6297 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.6863, allocations: 7.984 kB / 0.6297 GB, free: 9.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000351/0.6866, allocations: 342.9 kB / 0.63 GB, free: 9.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6867, allocations: 0 / 0.63 GB, free: 9.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002929/0.6896, allocations: 0.8549 MB / 0.6308 GB, free: 8.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003554/0.6932, allocations: 0.9987 MB / 0.6318 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008375/0.694, allocations: 356.2 kB / 0.6322 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.694, allocations: 0 / 0.6322 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.6944, allocations: 257.4 kB / 0.6324 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6955, allocations: 199.4 kB / 0.6326 GB, free: 6.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.6971, allocations: 1.023 MB / 0.6336 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.6976, allocations: 0.8758 MB / 0.6345 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.698, allocations: 186.9 kB / 0.6346 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.6981, allocations: 35.44 kB / 0.6347 GB, free: 4.273 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6981, allocations: 4 kB / 0.6347 GB, free: 4.27 MB / 494.1 MB Notification: Performance of Templates: time 0.04599/0.7441, allocations: 34.64 MB / 0.6685 GB, free: 1.66 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches