Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 121.4 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002095/0.002095, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.514/1.514, allocations: 230.4 MB / 255.4 MB, free: 14.99 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.81 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1059, allocations: 53.31 MB / 428 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003562/0.1094, allocations: 2.24 MB / 430.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1106, allocations: 0.616 MB / 430.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1107, allocations: 4 kB / 430.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1108, allocations: 27.61 kB / 430.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1111, allocations: 83.34 kB / 431 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1114, allocations: 67.84 kB / 431.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1117, allocations: 279 kB / 431.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1118, allocations: 60.72 kB / 431.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.112, allocations: 119.4 kB / 431.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1122, allocations: 143.2 kB / 431.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1123, allocations: 24 kB / 431.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.1123, allocations: 20 kB / 431.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.1124, allocations: 59.7 kB / 431.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1125, allocations: 143 kB / 431.9 MB, free: 476 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1128, allocations: 254.7 kB / 432.2 MB, free: 220 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1128, allocations: 0 / 432.2 MB, free: 220 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1128, allocations: 4 kB / 432.2 MB, free: 216 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1128, allocations: 0 / 432.2 MB, free: 216 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.2291/0.3419, allocations: 0.6195 MB / 432.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3419, allocations: 8.875 kB / 432.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.342, allocations: 39.09 kB / 432.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.3424, allocations: 315.8 kB / 433.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3424, allocations: 10.09 kB / 433.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.3425, allocations: 15.89 kB / 433.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.3431, allocations: 372.2 kB / 433.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3431, allocations: 0 / 433.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3431, allocations: 5.812 kB / 433.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3431, allocations: 5.562 kB / 433.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.3433, allocations: 92.78 kB / 433.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3439, allocations: 0.5215 MB / 434.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.3446, allocations: 310.7 kB / 434.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.3448, allocations: 134.2 kB / 434.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3448, allocations: 5.859 kB / 434.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3448, allocations: 35.62 kB / 434.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.3448, allocations: 0 / 434.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002091/0.3469, allocations: 1.349 MB / 436 MB, free: 7.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.347, allocations: 140.3 kB / 436.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.3473, allocations: 327.2 kB / 436.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3473, allocations: 34.8 kB / 436.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.3474, allocations: 145.9 kB / 436.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.3475, allocations: 53.5 kB / 436.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.3475, allocations: 65.44 kB / 436.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.3476, allocations: 349.2 kB / 437.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3478, allocations: 70.11 kB / 437.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.348, allocations: 322.6 kB / 437.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.3483, allocations: 414.7 kB / 437.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3483, allocations: 3.438 kB / 437.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000593/0.3489, allocations: 408 kB / 438.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.349, allocations: 16.48 kB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.349, allocations: 8.344 kB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.349, allocations: 11.53 kB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3493, allocations: 97.64 kB / 438.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.3493, allocations: 17.62 kB / 438.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.3495, allocations: 21.67 kB / 438.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.3495, allocations: 24.31 kB / 438.4 MB, free: 5.898 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.0001436/0.3497, allocations: 172.8 kB / 438.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/0.3502, allocations: 301.8 kB / 438.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.3509, allocations: 375.8 kB / 439.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3509, allocations: 6.031 kB / 439.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3509, allocations: 0.5625 kB / 439.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3509, allocations: 4.312 kB / 439.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.3513, allocations: 319.5 kB / 439.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3513, allocations: 4.594 kB / 439.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.3518, allocations: 127.5 kB / 439.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3518, allocations: 3.062 kB / 439.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3519, allocations: 8.891 kB / 439.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3519, allocations: 9.156 kB / 439.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3519, allocations: 1.875 kB / 439.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.3528, allocations: 0.7155 MB / 440.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3529, allocations: 119 kB / 440.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.3529, allocations: 14.36 kB / 440.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3532, allocations: 17.55 kB / 440.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3532, allocations: 5.125 kB / 440.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3532, allocations: 13.48 kB / 440.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.3535, allocations: 244.5 kB / 440.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3535, allocations: 3.484 kB / 440.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.3539, allocations: 62.78 kB / 440.9 MB, free: 4.691 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.0001036/0.354, allocations: 109.8 kB / 441 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000544/0.3546, allocations: 290.3 kB / 441.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3546, allocations: 0 / 441.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.3546, allocations: 30.84 kB / 441.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.3554, allocations: 205.6 kB / 441.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3567, allocations: 0.7736 MB / 442.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.357, allocations: 0.8068 MB / 443.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.3571, allocations: 31.47 kB / 443.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3571, allocations: 0 / 443.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Templates: time 0.007823/0.3649, allocations: 3.982 MB / 447.1 MB, free: 2.879 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.163375724921934]