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.001443/0.001443, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001818/0.001818, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001583/0.001583, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3253, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003682/0.3289, allocations: 2.137 MB / 433.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3301, allocations: 0.5849 MB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3303, allocations: 0 / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3304, allocations: 27.61 kB / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3307, allocations: 87.34 kB / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.3309, allocations: 71.84 kB / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.3313, allocations: 279 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3314, allocations: 56.91 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.3317, allocations: 123.4 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3319, allocations: 147.2 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.3319, allocations: 20 kB / 435.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.485e-05/0.3319, allocations: 24 kB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.332, allocations: 59.7 kB / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3321, allocations: 103.3 kB / 435.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.3324, allocations: 272.9 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3324, allocations: 0 / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3325, allocations: 0 / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3325, allocations: 0 / 435.5 MB, free: 2.734 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.001094/0.3336, allocations: 0.5515 MB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3336, allocations: 8.031 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.3337, allocations: 36.7 kB / 436.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.3341, allocations: 258.8 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3341, allocations: 16.41 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.3341, allocations: 12 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.3348, allocations: 381.8 kB / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3348, allocations: 0 / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3348, allocations: 8 kB / 436.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3349, allocations: 4 kB / 436.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.3351, allocations: 91.95 kB / 436.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.3357, allocations: 433.2 kB / 437.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.3365, allocations: 307.7 kB / 437.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.3367, allocations: 126.6 kB / 437.7 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3367, allocations: 4 kB / 437.7 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3368, allocations: 42.55 kB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.442e-06/0.3368, allocations: 4 kB / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.00238/0.3391, allocations: 1.156 MB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.3393, allocations: 134.7 kB / 439.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.3396, allocations: 336.6 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3397, allocations: 29.7 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3398, allocations: 149.1 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3398, allocations: 52.31 kB / 439.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.3399, allocations: 62.14 kB / 439.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3401, allocations: 350.8 kB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3403, allocations: 68.83 kB / 440.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3406, allocations: 300.7 kB / 440.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.3411, allocations: 399.2 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3411, allocations: 7.938 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006209/0.3417, allocations: 397.2 kB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3417, allocations: 8 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3418, allocations: 8 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.3418, allocations: 12 kB / 441.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.3421, allocations: 91.83 kB / 441.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.3421, allocations: 15.94 kB / 441.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3423, allocations: 24.44 kB / 441.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3423, allocations: 28 kB / 441.4 MB, free: 12.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (49): * Single equations (assignments): 49 * 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.0002133/0.3426, allocations: 161.7 kB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.343, allocations: 293.9 kB / 441.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.3437, allocations: 372.5 kB / 442.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3437, allocations: 8 kB / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3437, allocations: 0 / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3437, allocations: 0 / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3441, allocations: 209.1 kB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3441, allocations: 4 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.3447, allocations: 119.8 kB / 442.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3447, allocations: 3.938 kB / 442.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3447, allocations: 12 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3447, allocations: 0 / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3447, allocations: 4 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3457, allocations: 0.699 MB / 443.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.3458, allocations: 31.75 kB / 443.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.3459, allocations: 23.98 kB / 443.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3461, allocations: 16 kB / 443.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.3462, allocations: 3.984 kB / 443.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3462, allocations: 12 kB / 443.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.3464, allocations: 243.1 kB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3464, allocations: 0 / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.3469, allocations: 60 kB / 443.6 MB, free: 10.09 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 (43): * Single equations (assignments): 43 * 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.0001407/0.347, allocations: 114.2 kB / 443.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.3475, allocations: 281.1 kB / 444 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3475, allocations: 4 kB / 444 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.3476, allocations: 31.92 kB / 444 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.3484, allocations: 183.5 kB / 444.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3497, allocations: 0.7212 MB / 444.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3499, allocations: 205.5 kB / 445.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.35, allocations: 31.28 kB / 445.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.3501, allocations: 39.42 kB / 445.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3501, allocations: 0 / 445.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Templates: time 0.009336/0.3595, allocations: 4.217 MB / 449.4 MB, free: 4.266 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: 4.823098650667816]