Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 199.3 kB / 8.539 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009833/0.0009833, allocations: 96.66 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.187/0.187, allocations: 45.14 MB / 383.4 MB, free: 488 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.014e-06/7.404e-06, allocations: 0 / 452.6 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 63.23 MB / 0.5038 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.17/6.29, allocations: 2.787 GB / 3.291 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/6.29, allocations: 87.62 kB / 3.291 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.73/8.02, allocations: 440.9 MB / 3.722 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.483e-05/8.02, allocations: 11.75 kB / 3.722 GB, free: 60.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007789/8.028, allocations: 1.783 MB / 3.724 GB, free: 59.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/8.028, allocations: 9.719 kB / 3.724 GB, free: 59.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/8.031, allocations: 345.2 kB / 3.724 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/8.032, allocations: 0.5749 MB / 3.725 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/8.032, allocations: 26.16 kB / 3.725 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/8.032, allocations: 30.25 kB / 3.725 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/8.033, allocations: 0.5509 MB / 3.725 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/8.034, allocations: 0.6631 MB / 3.726 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/8.034, allocations: 0 / 3.726 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/8.034, allocations: 7.188 kB / 3.726 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/8.035, allocations: 32.25 kB / 3.726 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02203/8.057, allocations: 12.85 MB / 3.738 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/8.057, allocations: 335.3 kB / 3.739 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/8.058, allocations: 226.4 kB / 3.739 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1321/8.19, allocations: 63.59 MB / 3.801 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.969e-05/8.19, allocations: 37.75 kB / 3.801 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/8.19, allocations: 0 / 3.801 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51): time 0.007808/8.198, allocations: 1.868 MB / 3.803 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/8.198, allocations: 108.5 kB / 3.803 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/8.199, allocations: 378.9 kB / 3.803 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/8.199, allocations: 27.02 kB / 3.803 GB, free: 21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/8.199, allocations: 265.1 kB / 3.804 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/8.199, allocations: 178 kB / 3.804 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/8.199, allocations: 1.156 kB / 3.804 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002481/8.2, allocations: 364.2 kB / 3.804 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/8.2, allocations: 220.7 kB / 3.804 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/8.201, allocations: 382.6 kB / 3.805 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/8.202, allocations: 356.2 kB / 3.805 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/8.202, allocations: 1.375 kB / 3.805 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003981/8.206, allocations: 1.115 MB / 3.806 GB, free: 19.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/8.207, allocations: 1.745 MB / 3.808 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/8.207, allocations: 4.188 kB / 3.808 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/8.209, allocations: 314 kB / 3.808 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/8.21, allocations: 137.6 kB / 3.808 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/8.212, allocations: 1.034 MB / 3.809 GB, free: 16.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/8.213, allocations: 90.22 kB / 3.809 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/8.213, allocations: 43.12 kB / 3.809 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/8.213, allocations: 4 kB / 3.809 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00209/8.216, allocations: 0.7541 MB / 3.81 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/8.216, allocations: 11.84 kB / 3.81 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/8.217, allocations: 302.8 kB / 3.81 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/8.217, allocations: 139.8 kB / 3.811 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/8.219, allocations: 0.9332 MB / 3.811 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/8.22, allocations: 84.25 kB / 3.812 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/8.22, allocations: 43.52 kB / 3.812 GB, free: 14.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.000307/8.22, allocations: 112.9 kB / 3.812 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008223/8.221, allocations: 280.6 kB / 3.812 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/8.225, allocations: 2.603 MB / 3.815 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/8.225, allocations: 31.3 kB / 3.815 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/8.225, allocations: 3.938 kB / 3.815 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/8.225, allocations: 3.797 kB / 3.815 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/8.229, allocations: 3.469 MB / 3.818 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/8.229, allocations: 0 / 3.818 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/8.23, allocations: 159 kB / 3.818 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/8.231, allocations: 63.58 kB / 3.818 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/8.231, allocations: 15.84 kB / 3.818 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008371/8.231, allocations: 1.215 MB / 3.819 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/8.231, allocations: 3.906 kB / 3.819 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003741/8.235, allocations: 2.712 MB / 3.822 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/8.236, allocations: 269.4 kB / 3.822 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/8.236, allocations: 3.656 kB / 3.822 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/8.236, allocations: 62.97 kB / 3.822 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/8.237, allocations: 65.81 kB / 3.822 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/8.237, allocations: 31.89 kB / 3.822 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0004752/8.237, allocations: 340.7 kB / 3.823 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008417/8.246, allocations: 1.379 MB / 3.824 GB, free: 2.887 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/8.257, allocations: 1.895 MB / 3.826 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00407/8.262, allocations: 1.616 MB / 3.828 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/8.262, allocations: 1.5 kB / 3.828 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/8.263, allocations: 1.113 MB / 3.829 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/8.265, allocations: 257.5 kB / 3.829 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/8.269, allocations: 1.888 MB / 3.831 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/8.271, allocations: 1.164 MB / 3.832 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/8.271, allocations: 0 / 3.832 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of Templates: time 0.4169/8.688, allocations: 45.56 MB / 3.876 GB, free: 140.7 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches