Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 116 kB / 20.89 MB, free: 1.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 192.6 kB / 24.12 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.6 MB / 234.8 MB, free: 11.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 51.92 kB / 346.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2234, allocations: 49.12 MB / 396.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003773/0.2272, allocations: 3.521 MB / 399.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2284, allocations: 1 MB / 400.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2286, allocations: 4.844 kB / 400.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.2288, allocations: 109.1 kB / 400.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.2292, allocations: 190.7 kB / 400.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.2294, allocations: 126.3 kB / 401 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.23, allocations: 0.6377 MB / 401.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2302, allocations: 123.8 kB / 401.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.2304, allocations: 243.9 kB / 402 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.2307, allocations: 273.8 kB / 402.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.2308, allocations: 52.59 kB / 402.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2309, allocations: 53.59 kB / 402.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.231, allocations: 117.4 kB / 402.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.2312, allocations: 301.7 kB / 402.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.2318, allocations: 0.6391 MB / 403.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2318, allocations: 4.938 kB / 403.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2318, allocations: 0 / 403.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2318, allocations: 0 / 403.4 MB, free: 5.113 MB / 318.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.001234/0.2331, allocations: 0.8543 MB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2331, allocations: 8.219 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2332, allocations: 65.19 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.2337, allocations: 397.3 kB / 404.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/0.2338, allocations: 58.92 kB / 404.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.2339, allocations: 42.11 kB / 404.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.2345, allocations: 461.9 kB / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2346, allocations: 1 kB / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.2346, allocations: 12.92 kB / 405.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2346, allocations: 7.625 kB / 405.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.2351, allocations: 278.2 kB / 405.6 MB, free: 3.645 MB / 318.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.001856/0.237, allocations: 1.303 MB / 406.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.2381, allocations: 413.8 kB / 407.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.2384, allocations: 129.9 kB / 407.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.2384, allocations: 9.344 kB / 407.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2384, allocations: 46.8 kB / 407.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.2384, allocations: 0 / 407.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001056/0.2395, allocations: 0.5998 MB / 408.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.2395, allocations: 444.3 kB / 408.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.24, allocations: 457.4 kB / 408.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.24, allocations: 36.45 kB / 409 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2402, allocations: 231.9 kB / 409.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.2402, allocations: 116.9 kB / 409.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2403, allocations: 76.66 kB / 409.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.2404, allocations: 350.9 kB / 409.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.2407, allocations: 110 kB / 409.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.241, allocations: 254.1 kB / 410.1 MB, free: 404 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.2414, allocations: 276 kB / 410.4 MB, free: 252 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2414, allocations: 0 / 410.4 MB, free: 252 kB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000665/0.2421, allocations: 418.6 kB / 410.8 MB, free: 32 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.2421, allocations: 31.55 kB / 410.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.2422, allocations: 1.781 kB / 410.8 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.2423, allocations: 50.84 kB / 410.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.2427, allocations: 68.61 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.2454, allocations: 2.986 MB / 413.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.2458, allocations: 51.19 kB / 414 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2459, allocations: 9.484 kB / 414 MB, free: 12.97 MB / 334.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.0002183/0.2461, allocations: 171.3 kB / 414.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.2462, allocations: 50.72 kB / 414.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2463, allocations: 50.86 kB / 414.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007316/0.247, allocations: 0.6464 MB / 414.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.247, allocations: 1.031 kB / 414.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.2472, allocations: 174 kB / 415 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.2473, allocations: 7.719 kB / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.2476, allocations: 19.58 kB / 415.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2477, allocations: 21.5 kB / 415.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008045/0.2485, allocations: 379.7 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009452/0.2494, allocations: 0.5966 MB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002278/0.2497, allocations: 110.9 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000379/0.25, allocations: 325.1 kB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Backend: time 6.01e-07/0.25, allocations: 0 / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.2512, allocations: 0.5476 MB / 417 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 0.001809/0.253, allocations: 1.388 MB / 418.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of Templates: time 0.01533/0.2683, allocations: 8.635 MB / 427.1 MB, free: 3.758 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.395276151015423]