Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 161.5 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 46.42 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004861/0.1068, allocations: 2.115 MB / 373.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1082, allocations: 0.5693 MB / 374.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1083, allocations: 0 / 374.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1084, allocations: 31.61 kB / 374.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1087, allocations: 71.42 kB / 374.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1089, allocations: 79.83 kB / 374.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.1092, allocations: 275 kB / 374.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1094, allocations: 53.12 kB / 374.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1095, allocations: 119.4 kB / 374.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1097, allocations: 131.2 kB / 375 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.1098, allocations: 20 kB / 375 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.1098, allocations: 24 kB / 375 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.1099, allocations: 63.7 kB / 375.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.11, allocations: 111.2 kB / 375.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1103, allocations: 258.7 kB / 375.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1103, allocations: 0 / 375.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1103, allocations: 0 / 375.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1103, allocations: 4 kB / 375.5 MB, free: 3.422 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.001104/0.1114, allocations: 0.5553 MB / 376 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1115, allocations: 12.92 kB / 376 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.1115, allocations: 32.75 kB / 376.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1119, allocations: 266.7 kB / 376.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1119, allocations: 12.41 kB / 376.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.112, allocations: 12 kB / 376.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.1126, allocations: 378.2 kB / 376.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1127, allocations: 0 / 376.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1127, allocations: 4 kB / 376.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1127, allocations: 4 kB / 376.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1129, allocations: 91.89 kB / 376.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.1136, allocations: 429.3 kB / 377.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.1143, allocations: 307.8 kB / 377.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.1145, allocations: 134.7 kB / 377.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1145, allocations: 7.797 kB / 377.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1146, allocations: 38.56 kB / 377.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.1146, allocations: 0 / 377.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002338/0.1169, allocations: 1.152 MB / 378.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.117, allocations: 146.4 kB / 379 MB, free: 15.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.1174, allocations: 324.6 kB / 379.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1175, allocations: 33.69 kB / 379.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1176, allocations: 145.1 kB / 379.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.1176, allocations: 55.8 kB / 379.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.1177, allocations: 70.19 kB / 379.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1179, allocations: 346.8 kB / 380 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.118, allocations: 68.97 kB / 380 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.1183, allocations: 308.4 kB / 380.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.1188, allocations: 399.2 kB / 380.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1188, allocations: 4 kB / 380.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006422/0.1195, allocations: 401.5 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1195, allocations: 8 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.1195, allocations: 11.98 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.1195, allocations: 12 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1198, allocations: 91.84 kB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.1198, allocations: 15.92 kB / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.12, allocations: 27.89 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.1201, allocations: 20 kB / 381.3 MB, free: 13.09 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.0001852/0.1203, allocations: 165.8 kB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005031/0.1208, allocations: 293.1 kB / 381.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/0.1214, allocations: 365 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1214, allocations: 4 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1215, allocations: 0 / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1215, allocations: 7.984 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.1218, allocations: 189.2 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1218, allocations: 0 / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.1224, allocations: 127.8 kB / 382.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.1224, allocations: 3.938 kB / 382.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1224, allocations: 8 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1224, allocations: 4 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1224, allocations: 0 / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1235, allocations: 0.7033 MB / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.1236, allocations: 47.72 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.1236, allocations: 11.94 kB / 383.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1239, allocations: 12 kB / 383.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1239, allocations: 8.047 kB / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.1239, allocations: 20.06 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.1242, allocations: 251 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1242, allocations: 3.938 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.1247, allocations: 60 kB / 383.6 MB, free: 10.76 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.0001237/0.1249, allocations: 110.2 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.1254, allocations: 280.3 kB / 383.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1254, allocations: 0 / 383.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.1255, allocations: 33.42 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.1262, allocations: 192.2 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1276, allocations: 0.7447 MB / 384.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1278, allocations: 197.6 kB / 385.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.54e-05/0.1279, allocations: 35.27 kB / 385.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.128, allocations: 32.5 kB / 385.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.128, allocations: 0 / 385.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Templates: time 0.008529/0.1365, allocations: 3.824 MB / 389 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.441920162993483]