Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002513/0.002513, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2766, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005737/0.2823, allocations: 3.216 MB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.2845, allocations: 0.9423 MB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.2849, allocations: 7.938 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.2854, allocations: 99.12 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.286, allocations: 190.4 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.2863, allocations: 123.8 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.2872, allocations: 0.6341 MB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.2874, allocations: 135.5 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.2877, allocations: 243.1 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.2881, allocations: 286.8 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.838e-05/0.2882, allocations: 52 kB / 438.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2883, allocations: 52 kB / 438.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2884, allocations: 119.6 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.2887, allocations: 239 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.2894, allocations: 0.6564 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2894, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2894, allocations: 4 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.2894, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001504/0.2909, allocations: 0.7789 MB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.291, allocations: 8.031 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.2911, allocations: 72.55 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.2918, allocations: 333.2 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.292, allocations: 110.3 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.292, allocations: 28.38 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.293, allocations: 0.8346 MB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2931, allocations: 0 / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.2931, allocations: 16 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2931, allocations: 4 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.2937, allocations: 278.5 kB / 441.7 MB, free: 13.03 MB / 350.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.002136/0.2958, allocations: 0.9517 MB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.2971, allocations: 342 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2973, allocations: 132.8 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.2974, allocations: 7.938 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.2974, allocations: 42.5 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.2974, allocations: 0 / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001206/0.2986, allocations: 444.3 kB / 443.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002631/0.2989, allocations: 445 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.2994, allocations: 409.7 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.2995, allocations: 45.58 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.2997, allocations: 236.5 kB / 444.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.2998, allocations: 123 kB / 444.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.2999, allocations: 74.02 kB / 444.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3001, allocations: 350.7 kB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3004, allocations: 134.3 kB / 445.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.301, allocations: 0.6517 MB / 446.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.3016, allocations: 285.2 kB / 446.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3016, allocations: 0 / 446.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008023/0.3024, allocations: 438.3 kB / 446.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3024, allocations: 33.64 kB / 446.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3024, allocations: 0 / 446.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.3026, allocations: 53.69 kB / 446.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.303, allocations: 63.91 kB / 446.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.3058, allocations: 2.7 MB / 449.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3061, allocations: 43.81 kB / 449.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.3062, allocations: 15.98 kB / 449.7 MB, free: 4.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.3064, allocations: 169.9 kB / 449.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.3065, allocations: 47.72 kB / 449.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.892e-05/0.3066, allocations: 48.38 kB / 449.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3066, allocations: 0 / 449.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3066, allocations: 4 kB / 449.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007813/0.3074, allocations: 0.6494 MB / 450.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3088, allocations: 0.7589 MB / 451.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3088, allocations: 0 / 451.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.3091, allocations: 71.89 kB / 451.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3091, allocations: 0 / 451.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.3092, allocations: 8 kB / 451.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3092, allocations: 3.938 kB / 451.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3092, allocations: 3.938 kB / 451.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.3101, allocations: 0.5137 MB / 451.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3103, allocations: 83.67 kB / 452 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.3103, allocations: 8 kB / 452 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.3107, allocations: 19.92 kB / 452.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.3107, allocations: 23.89 kB / 452.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3107, allocations: 8 kB / 452.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003375/0.3111, allocations: 287.2 kB / 452.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3111, allocations: 0 / 452.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.3116, allocations: 131.9 kB / 452.5 MB, free: 1.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0001533/0.3117, allocations: 106.4 kB / 452.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.313, allocations: 0.5803 MB / 453.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.313, allocations: 0 / 453.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.3133, allocations: 119.8 kB / 453.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.3141, allocations: 121.6 kB / 453.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3158, allocations: 0.903 MB / 454.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3161, allocations: 212.4 kB / 454.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.3163, allocations: 55.38 kB / 454.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3164, allocations: 35.44 kB / 454.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3164, allocations: 0 / 454.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01756/0.334, allocations: 9.142 MB / 463.8 MB, free: 6.336 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.449203330994351]