Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 103.3 kB / 18.4 MB, free: 4.566 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.001013/0.001013, allocations: 191.3 kB / 19.34 MB, free: 3.645 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.24/1.24, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001167/0.001167, allocations: 51.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06878/0.06995, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003258/0.07323, allocations: 2.748 MB / 378.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.07451, allocations: 0.8652 MB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.07468, allocations: 7.938 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.07495, allocations: 67.47 kB / 379.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.07524, allocations: 138.9 kB / 379.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.07545, allocations: 91.88 kB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.07592, allocations: 438.3 kB / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.07611, allocations: 107.2 kB / 380.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1431/0.2192, allocations: 152.2 kB / 380.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.2196, allocations: 183.7 kB / 380.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.2197, allocations: 34.38 kB / 380.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.2198, allocations: 35.75 kB / 380.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.2199, allocations: 73.56 kB / 380.7 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2201, allocations: 191.9 kB / 380.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.2205, allocations: 443.1 kB / 381.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2205, allocations: 3.422 kB / 381.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2205, allocations: 0.9688 kB / 381.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2205, allocations: 0 / 381.3 MB, free: 9.77 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009943/0.2215, allocations: 0.681 MB / 382 MB, free: 9.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2216, allocations: 14.48 kB / 382 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/0.2217, allocations: 38.72 kB / 382.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.222, allocations: 303.4 kB / 382.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/0.2221, allocations: 48.16 kB / 382.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.2222, allocations: 23.62 kB / 382.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.2226, allocations: 324.8 kB / 382.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2227, allocations: 0 / 382.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2227, allocations: 10.44 kB / 382.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2227, allocations: 5.5 kB / 382.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.2232, allocations: 201.2 kB / 383 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.2245, allocations: 0.7939 MB / 383.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.2251, allocations: 279.1 kB / 384 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2253, allocations: 123.2 kB / 384.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2253, allocations: 7.312 kB / 384.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2253, allocations: 37.97 kB / 384.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.2253, allocations: 4.219 kB / 384.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009419/0.2263, allocations: 482.9 kB / 384.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2263, allocations: 318.6 kB / 385 MB, free: 7.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.2266, allocations: 282.3 kB / 385.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2266, allocations: 32.67 kB / 385.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.2267, allocations: 172.6 kB / 385.5 MB, free: 7.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.2268, allocations: 107.5 kB / 385.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.2269, allocations: 71.09 kB / 385.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.2269, allocations: 338.9 kB / 386 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.2271, allocations: 95.34 kB / 386.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.2274, allocations: 209 kB / 386.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.2278, allocations: 263.7 kB / 386.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2278, allocations: 0 / 386.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005631/0.2284, allocations: 370 kB / 386.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.2284, allocations: 36.34 kB / 386.9 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2284, allocations: 1.062 kB / 386.9 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.2286, allocations: 37.34 kB / 387 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.2295, allocations: 160.7 kB / 387.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.2323, allocations: 3.224 MB / 390.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.2326, allocations: 40.34 kB / 390.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.2327, allocations: 13.31 kB / 390.4 MB, free: 3.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.2328, allocations: 152.8 kB / 390.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.2329, allocations: 33.84 kB / 390.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.2329, allocations: 41.75 kB / 390.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005154/0.2335, allocations: 0.6532 MB / 391.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2335, allocations: 4 kB / 391.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2336, allocations: 137.7 kB / 391.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.2337, allocations: 7.25 kB / 391.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.2339, allocations: 24.14 kB / 391.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.234, allocations: 15.61 kB / 391.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001538/0.2355, allocations: 0.5052 MB / 392 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007015/0.2362, allocations: 0.557 MB / 392.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000202/0.2365, allocations: 108.2 kB / 392.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.2366, allocations: 208.1 kB / 392.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of Backend: time 2.9e-07/0.2366, allocations: 0 / 392.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.2381, allocations: 0.545 MB / 393.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of SimCode: time 0.001156/0.2393, allocations: 1.269 MB / 394.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of Templates: time 0.01022/0.2495, allocations: 5.882 MB / 400.5 MB, free: 15.78 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches