Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 112.1 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 51.66 kB / 300.8 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1002, allocations: 49.45 MB / 350.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005841/0.1061, allocations: 4.379 MB / 354.6 MB, free: 112 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.109, allocations: 1.211 MB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/0.1097, allocations: 8 kB / 355.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.1105, allocations: 107.3 kB / 355.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1115, allocations: 234.1 kB / 356.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.1121, allocations: 167.8 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1134, allocations: 0.9239 MB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.1138, allocations: 244.8 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.1144, allocations: 362.6 kB / 357.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.115, allocations: 402.3 kB / 358.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.1152, allocations: 76 kB / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.1154, allocations: 80 kB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.1156, allocations: 171.3 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.1161, allocations: 410.2 kB / 359 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006982/0.1168, allocations: 0.6975 MB / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1168, allocations: 0 / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1168, allocations: 0 / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.1169, allocations: 0 / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002142/0.119, allocations: 1.113 MB / 360.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1191, allocations: 8.031 kB / 360.8 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1192, allocations: 91.94 kB / 360.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.1199, allocations: 484.6 kB / 361.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.12, allocations: 96.95 kB / 361.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.1201, allocations: 44.38 kB / 361.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1213, allocations: 0.6593 MB / 362.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1213, allocations: 0 / 362.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.1214, allocations: 24 kB / 362.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1214, allocations: 12 kB / 362.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1224, allocations: 451.7 kB / 362.6 MB, free: 7.887 MB / 302.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.003036/0.1254, allocations: 1.963 MB / 364.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.1274, allocations: 0.6867 MB / 365.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.1279, allocations: 266 kB / 365.5 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.128, allocations: 8.422 kB / 365.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.128, allocations: 47 kB / 365.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.904e-06/0.128, allocations: 0 / 365.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005079/0.1331, allocations: 1.48 MB / 367.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.1334, allocations: 0.5683 MB / 367.6 MB, free: 2.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.134, allocations: 0.5421 MB / 368.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.1341, allocations: 37.7 kB / 368.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.1343, allocations: 280.5 kB / 368.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.1345, allocations: 189.3 kB / 368.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.1347, allocations: 114.1 kB / 368.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1348, allocations: 374.7 kB / 369.1 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.1353, allocations: 189 kB / 369.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.136, allocations: 423.5 kB / 369.7 MB, free: 284 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1717/0.3077, allocations: 485.1 kB / 370.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3078, allocations: 0 / 370.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002603/0.3104, allocations: 0.8041 MB / 371 MB, free: 25.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.3105, allocations: 32.95 kB / 371.1 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3105, allocations: 1.156 kB / 371.1 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.3116, allocations: 221.1 kB / 371.3 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.3124, allocations: 131.5 kB / 371.4 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/0.3198, allocations: 5.612 MB / 377 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008109/0.3206, allocations: 80.2 kB / 377.1 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.3207, allocations: 18.72 kB / 377.1 MB, free: 20.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.321, allocations: 191.1 kB / 377.3 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3211, allocations: 71.56 kB / 377.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.3234, allocations: 0.7803 MB / 378.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3234, allocations: 9.438 kB / 378.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3234, allocations: 0 / 378.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002089/0.3255, allocations: 1.037 MB / 379.2 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.3289, allocations: 1.496 MB / 380.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3289, allocations: 1.281 kB / 380.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.3297, allocations: 131.2 kB / 380.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008735/0.3306, allocations: 180.6 kB / 381 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.3306, allocations: 8.812 kB / 381 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/0.3354, allocations: 3.81 MB / 384.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3354, allocations: 4.938 kB / 384.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.3383, allocations: 1.063 MB / 385.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.3387, allocations: 206.6 kB / 386.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.3388, allocations: 18.33 kB / 386.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.3393, allocations: 39.72 kB / 386.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.3395, allocations: 44.31 kB / 386.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.3396, allocations: 15.55 kB / 386.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000521/0.3401, allocations: 385.8 kB / 386.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3401, allocations: 3.938 kB / 386.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008574/0.341, allocations: 222.2 kB / 386.8 MB, free: 14.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.3411, allocations: 121.6 kB / 386.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.3436, allocations: 1.041 MB / 388 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3436, allocations: 1.25 kB / 388 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3446, allocations: 0.5351 MB / 388.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.3455, allocations: 186.2 kB / 388.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3479, allocations: 1.532 MB / 390.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3483, allocations: 0.8888 MB / 391.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3485, allocations: 59.94 kB / 391.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3485, allocations: 0 / 391.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01756/0.366, allocations: 15.38 MB / 406.5 MB, free: 0.8359 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches