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.00205/0.002049, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 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.001881/0.001882, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.518/1.518, allocations: 222.9 MB / 247 MB, free: 4.332 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.001563/0.001563, allocations: 51.91 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 49.42 MB / 408.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003761/0.1087, allocations: 2.205 MB / 410.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.11, allocations: 0.5926 MB / 410.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1101, allocations: 8 kB / 410.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.1103, allocations: 27.61 kB / 410.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1106, allocations: 75.41 kB / 411 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1109, allocations: 71.8 kB / 411.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1113, allocations: 283 kB / 411.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1114, allocations: 56.97 kB / 411.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1116, allocations: 123.4 kB / 411.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1118, allocations: 139.2 kB / 411.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1119, allocations: 24 kB / 411.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.1119, allocations: 24 kB / 411.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.112, allocations: 67.67 kB / 411.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1122, allocations: 127.1 kB / 411.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1125, allocations: 262.6 kB / 412.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1126, allocations: 4 kB / 412.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1126, allocations: 0 / 412.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1126, allocations: 0 / 412.2 MB, free: 2.887 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.001208/0.1138, allocations: 0.6247 MB / 412.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1138, allocations: 12.03 kB / 412.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.1139, allocations: 36.75 kB / 412.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1144, allocations: 316.5 kB / 413.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1144, allocations: 16.41 kB / 413.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1145, allocations: 19.94 kB / 413.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.1152, allocations: 370.7 kB / 413.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1152, allocations: 0 / 413.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.1152, allocations: 8 kB / 413.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1152, allocations: 7.984 kB / 413.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1154, allocations: 91 kB / 413.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.1163, allocations: 0.5327 MB / 414.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.117, allocations: 312.4 kB / 414.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.1173, allocations: 135.5 kB / 414.6 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.1173, allocations: 7.859 kB / 414.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1174, allocations: 46.55 kB / 414.7 MB, free: 180 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.1174, allocations: 0 / 414.7 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002538/0.1199, allocations: 1.349 MB / 416 MB, free: 14.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.12, allocations: 135.4 kB / 416.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.1205, allocations: 324.6 kB / 416.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1205, allocations: 37.7 kB / 416.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1206, allocations: 145.1 kB / 416.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.1207, allocations: 47.72 kB / 416.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.1208, allocations: 66.14 kB / 416.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.121, allocations: 354.8 kB / 417.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1211, allocations: 68.84 kB / 417.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.1215, allocations: 322.7 kB / 417.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.122, allocations: 413 kB / 417.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.122, allocations: 4 kB / 417.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006591/0.1227, allocations: 417.3 kB / 418.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1227, allocations: 16.22 kB / 418.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.1227, allocations: 8 kB / 418.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.1228, allocations: 12 kB / 418.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.123, allocations: 95.83 kB / 418.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.1231, allocations: 15.94 kB / 418.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1233, allocations: 23.94 kB / 418.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.1234, allocations: 24 kB / 418.5 MB, free: 11.95 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.0001988/0.1236, allocations: 173.5 kB / 418.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/0.1241, allocations: 300.9 kB / 419 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.1248, allocations: 375.5 kB / 419.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1248, allocations: 4 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1248, allocations: 4 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1248, allocations: 0 / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.1253, allocations: 325.3 kB / 419.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1253, allocations: 4 kB / 419.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.1259, allocations: 127.8 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1259, allocations: 8 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1259, allocations: 8 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.1259, allocations: 7.938 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.126, allocations: 0 / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.127, allocations: 0.7187 MB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1272, allocations: 120.8 kB / 420.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.1272, allocations: 12 kB / 420.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.1275, allocations: 12.06 kB / 420.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1275, allocations: 7.984 kB / 420.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.1276, allocations: 12 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.1279, allocations: 243.1 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1279, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.1284, allocations: 64 kB / 421 MB, free: 9.352 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.0001688/0.1285, allocations: 127.3 kB / 421.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.1292, allocations: 289.8 kB / 421.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1292, allocations: 4.062 kB / 421.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1293, allocations: 23.98 kB / 421.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.1301, allocations: 226.8 kB / 421.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1316, allocations: 0.7811 MB / 422.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.1321, allocations: 0.8073 MB / 423.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1322, allocations: 31.38 kB / 423.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1322, allocations: 0 / 423.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Templates: time 0.007059/0.1393, allocations: 3.966 MB / 427.2 MB, free: 3.039 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.908732098992914]