Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.002029/0.002029, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002406/0.002406, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003811/0.1221, allocations: 2.09 MB / 428.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1234, allocations: 0.5807 MB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1235, allocations: 4 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1236, allocations: 23.67 kB / 429.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1239, allocations: 79.42 kB / 429.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1241, allocations: 51.91 kB / 429.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.1245, allocations: 263 kB / 429.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1247, allocations: 44.7 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.1249, allocations: 115.4 kB / 430.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1251, allocations: 135.3 kB / 430.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1251, allocations: 20 kB / 430.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.665e-05/0.1252, allocations: 20 kB / 430.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.894e-05/0.1253, allocations: 67.62 kB / 430.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1254, allocations: 123.2 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1257, allocations: 234.7 kB / 430.6 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1257, allocations: 4 kB / 430.7 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1257, allocations: 0 / 430.7 MB, free: 448 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1257, allocations: 0 / 430.7 MB, free: 448 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.2256/0.3513, allocations: 0.6021 MB / 431.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3514, allocations: 9.219 kB / 431.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.3515, allocations: 32.09 kB / 431.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3519, allocations: 316.1 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3519, allocations: 10.12 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.3519, allocations: 11.77 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.3522, allocations: 121.7 kB / 431.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3522, allocations: 1.781 kB / 431.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3522, allocations: 9.453 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3522, allocations: 3.094 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.3524, allocations: 78.25 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.3532, allocations: 0.5254 MB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.3538, allocations: 178.5 kB / 432.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3539, allocations: 62.19 kB / 432.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3539, allocations: 3.562 kB / 432.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3539, allocations: 32.69 kB / 432.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3539, allocations: 0 / 432.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001416/0.3553, allocations: 0.6684 MB / 433.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.3554, allocations: 52.38 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.3557, allocations: 337 kB / 433.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3557, allocations: 25.7 kB / 433.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.3558, allocations: 162.1 kB / 433.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.3558, allocations: 62.88 kB / 433.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.3559, allocations: 35.73 kB / 434 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.356, allocations: 346.2 kB / 434.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3561, allocations: 57.45 kB / 434.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3562, allocations: 63.06 kB / 434.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3564, allocations: 148.7 kB / 434.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3564, allocations: 0 / 434.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003358/0.3568, allocations: 217.4 kB / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3568, allocations: 8.875 kB / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3568, allocations: 0 / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3568, allocations: 1 kB / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.3571, allocations: 57.98 kB / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3571, allocations: 4.562 kB / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3573, allocations: 9.359 kB / 434.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3573, allocations: 5.688 kB / 434.9 MB, free: 9.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 9.554e-05/0.3574, allocations: 135.1 kB / 435 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.3574, allocations: 30.03 kB / 435 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.3578, allocations: 223.6 kB / 435.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3578, allocations: 2.156 kB / 435.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3578, allocations: 0 / 435.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3578, allocations: 0 / 435.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.3581, allocations: 323.5 kB / 435.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3581, allocations: 2.125 kB / 435.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.3585, allocations: 66.86 kB / 435.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3585, allocations: 1.062 kB / 435.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3585, allocations: 10.02 kB / 435.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3585, allocations: 1.125 kB / 435.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3585, allocations: 0.8125 kB / 435.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.3591, allocations: 394.2 kB / 436 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.3592, allocations: 106.5 kB / 436.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.3592, allocations: 9.078 kB / 436.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.3594, allocations: 8.062 kB / 436.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.3595, allocations: 11.66 kB / 436.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3595, allocations: 4.312 kB / 436.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.3597, allocations: 257 kB / 436.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3597, allocations: 3.75 kB / 436.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.36, allocations: 42.5 kB / 436.5 MB, free: 8.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.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 (18): * Single equations (assignments): 18 * 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.0001215/0.3601, allocations: 107.3 kB / 436.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.3605, allocations: 149.8 kB / 436.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3605, allocations: 0 / 436.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3606, allocations: 82.12 kB / 436.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.361, allocations: 49.14 kB / 436.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3624, allocations: 0.7048 MB / 437.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3627, allocations: 0.7642 MB / 438.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.3628, allocations: 32.62 kB / 438.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3629, allocations: 26.95 kB / 438.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3629, allocations: 0 / 438.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Templates: time 0.008394/0.3713, allocations: 2.789 MB / 441.1 MB, free: 7.184 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.809861026704311]