Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001723/0.001723, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001937/0.001937, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,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.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,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.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 43.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3055, allocations: 53.36 MB / 431.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004023/0.3096, allocations: 2.256 MB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.311, allocations: 0.6316 MB / 434.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.3111, allocations: 3.938 kB / 434.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.3113, allocations: 27.61 kB / 434.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.3116, allocations: 75.41 kB / 434.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3119, allocations: 79.78 kB / 434.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.3122, allocations: 279 kB / 435 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.3124, allocations: 52.92 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.3126, allocations: 123.4 kB / 435.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3129, allocations: 155.2 kB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.3129, allocations: 20 kB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.3129, allocations: 24 kB / 435.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.313, allocations: 59.7 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.3132, allocations: 131.1 kB / 435.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3135, allocations: 263.9 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3135, allocations: 0 / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3135, allocations: 3.938 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3135, allocations: 0 / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001533/0.3151, allocations: 0.5476 MB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3151, allocations: 8.031 kB / 436.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3152, allocations: 40.7 kB / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.3158, allocations: 254.8 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3159, allocations: 16.41 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.3159, allocations: 16 kB / 436.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.317, allocations: 377.8 kB / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.317, allocations: 0 / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.317, allocations: 4 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.317, allocations: 4 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.3173, allocations: 91.89 kB / 437.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3184, allocations: 0.5006 MB / 437.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3194, allocations: 305.7 kB / 437.9 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.3198, allocations: 130.5 kB / 438 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.3198, allocations: 4 kB / 438 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.145e-05/0.3199, allocations: 42.56 kB / 438.1 MB, free: 292 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.335e-06/0.3199, allocations: 3.938 kB / 438.1 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.003524/0.3234, allocations: 1.186 MB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000192/0.3236, allocations: 143.2 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.3242, allocations: 328.6 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.3243, allocations: 33.7 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3244, allocations: 141.1 kB / 439.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/0.3245, allocations: 59.61 kB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.3247, allocations: 70.14 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.3249, allocations: 350.7 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3251, allocations: 68.83 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.3256, allocations: 314.8 kB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.3264, allocations: 417 kB / 441.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3264, allocations: 11.88 kB / 441.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000982/0.3274, allocations: 405.6 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3274, allocations: 11.98 kB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3274, allocations: 8 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.3275, allocations: 12 kB / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.3279, allocations: 95.84 kB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.3279, allocations: 23.98 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.3282, allocations: 23.95 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.3282, allocations: 24 kB / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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 0.0002529/0.3285, allocations: 173.7 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/0.3293, allocations: 300.8 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009014/0.3302, allocations: 383.4 kB / 442.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3302, allocations: 4 kB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3302, allocations: 0 / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.3302, allocations: 3.984 kB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.3308, allocations: 296.4 kB / 442.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3308, allocations: 0 / 442.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/0.3315, allocations: 131.8 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3315, allocations: 4 kB / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.3316, allocations: 15.98 kB / 443 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3316, allocations: 3.938 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3316, allocations: 4 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.3332, allocations: 0.7148 MB / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3333, allocations: 39.78 kB / 443.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.3334, allocations: 12 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.3338, allocations: 15.92 kB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3338, allocations: 4 kB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.3339, allocations: 15.98 kB / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004212/0.3343, allocations: 243.1 kB / 444.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3343, allocations: 0 / 444.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.3352, allocations: 68.06 kB / 444.2 MB, free: 9.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001825/0.3353, allocations: 111.1 kB / 444.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008758/0.3362, allocations: 289.2 kB / 444.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3362, allocations: 0 / 444.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3363, allocations: 31.92 kB / 444.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3375, allocations: 204.2 kB / 444.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.3396, allocations: 0.7371 MB / 445.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.3402, allocations: 0.8074 MB / 446.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3403, allocations: 35.27 kB / 446.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3405, allocations: 31.44 kB / 446.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3405, allocations: 0 / 446.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Templates: time 0.01409/0.3546, allocations: 3.954 MB / 450.3 MB, free: 3.527 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.110433856025338]