Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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 3.2.3+maint.om/package.mo", uses=false) 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001803/0.001803, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB 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.00117/0.00117, allocations: 52.39 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07361/0.07479, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1574/0.2322, allocations: 5.588 MB / 381.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2349, allocations: 1.47 MB / 382.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.2353, allocations: 14.84 kB / 382.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.2358, allocations: 194.5 kB / 383.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.2365, allocations: 385.7 kB / 383.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.237, allocations: 257.3 kB / 383.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.2382, allocations: 1.371 MB / 385.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2387, allocations: 406 kB / 385.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.2392, allocations: 0.5149 MB / 386 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.2399, allocations: 0.583 MB / 386.6 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.24, allocations: 118 kB / 386.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.2403, allocations: 128.4 kB / 386.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2404, allocations: 252.5 kB / 387.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.2409, allocations: 0.6091 MB / 387.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.2421, allocations: 1.408 MB / 389.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2422, allocations: 0 / 389.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2422, allocations: 0 / 389.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.2422, allocations: 1.562 kB / 389.1 MB, free: 7.172 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002231/0.2444, allocations: 1.476 MB / 390.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2445, allocations: 8.688 kB / 390.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.2447, allocations: 125.8 kB / 390.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/0.2456, allocations: 0.6458 MB / 391.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.2458, allocations: 150.1 kB / 391.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.2459, allocations: 71 kB / 391.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.2473, allocations: 0.9723 MB / 392.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.2473, allocations: 1.172 kB / 392.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.2474, allocations: 34.19 kB / 392.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.2474, allocations: 16.22 kB / 392.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2487, allocations: 0.6187 MB / 393.2 MB, free: 4.668 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.003594/0.2523, allocations: 2.633 MB / 395.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.2548, allocations: 0.8633 MB / 396.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.2555, allocations: 354.8 kB / 397 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.2556, allocations: 15.64 kB / 397.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2556, allocations: 50.33 kB / 397.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.2556, allocations: 9.156 kB / 397.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002414/0.258, allocations: 1.4 MB / 398.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.2582, allocations: 0.9505 MB / 399.5 MB, free: 464 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.259, allocations: 0.7851 MB / 400.2 MB, free: 120 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.2591, allocations: 45.39 kB / 400.3 MB, free: 76 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.2595, allocations: 418 kB / 400.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.2597, allocations: 246.4 kB / 400.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.2599, allocations: 158.4 kB / 401.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2601, allocations: 335.3 kB / 401.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.2606, allocations: 258.6 kB / 401.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/0.2615, allocations: 0.5833 MB / 402.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2627, allocations: 0.6627 MB / 402.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2627, allocations: 5.438 kB / 402.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001758/0.2645, allocations: 0.9466 MB / 403.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.2646, allocations: 85.98 kB / 404 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2646, allocations: 5 kB / 404 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.2649, allocations: 130.3 kB / 404.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.2656, allocations: 150.6 kB / 404.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/0.2712, allocations: 7.332 MB / 411.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/0.2721, allocations: 104.7 kB / 411.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.2722, allocations: 23.25 kB / 411.7 MB, free: 6.137 MB / 334.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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000364/0.2726, allocations: 235.4 kB / 411.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2727, allocations: 105.1 kB / 412 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.2729, allocations: 103.2 kB / 412.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/0.2743, allocations: 0.966 MB / 413.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2743, allocations: 0 / 413.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.2747, allocations: 264.2 kB / 413.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.2749, allocations: 24.66 kB / 413.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/0.2755, allocations: 39.53 kB / 413.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.2757, allocations: 46.25 kB / 413.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001816/0.2775, allocations: 0.7517 MB / 414.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001989/0.2795, allocations: 1.146 MB / 415.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005336/0.28, allocations: 285.6 kB / 415.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.2807, allocations: 0.542 MB / 416.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.2807, allocations: 0 / 416.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.2828, allocations: 1.288 MB / 417.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of SimCode: time 0.002813/0.2856, allocations: 2.221 MB / 419.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of Templates: time 0.02791/0.3136, allocations: 18.83 MB / 438.5 MB, free: 14.78 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches