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.001262/0.001262, allocations: 124.5 kB / 18.46 MB, free: 4.613 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.001324/0.001324, allocations: 190.7 kB / 21.4 MB, free: 1.68 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.428/1.428, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.001582/0.001582, allocations: 51.92 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.116, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003864/0.1198, allocations: 2.217 MB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.121, allocations: 0.5965 MB / 421.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1212, allocations: 0 / 421.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1213, allocations: 27.61 kB / 421.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.1216, allocations: 83.39 kB / 421.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1219, allocations: 71.86 kB / 421.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.1223, allocations: 279 kB / 422.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1224, allocations: 52.95 kB / 422.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1226, allocations: 119.3 kB / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1228, allocations: 143.3 kB / 422.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.1229, allocations: 20 kB / 422.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.343e-05/0.1229, allocations: 24 kB / 422.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.123, allocations: 67.62 kB / 422.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1232, allocations: 127.1 kB / 422.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1235, allocations: 262.6 kB / 423 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1235, allocations: 8 kB / 423 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1235, allocations: 0 / 423 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1235, allocations: 0 / 423 MB, free: 8.02 MB / 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.001205/0.1247, allocations: 0.619 MB / 423.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1248, allocations: 12.03 kB / 423.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.1248, allocations: 36.73 kB / 423.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.1253, allocations: 324.5 kB / 424 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1253, allocations: 20.41 kB / 424 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.1253, allocations: 15.94 kB / 424 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.126, allocations: 369.8 kB / 424.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1261, allocations: 3.938 kB / 424.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.1261, allocations: 8 kB / 424.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1261, allocations: 4 kB / 424.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1263, allocations: 91.88 kB / 424.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.1271, allocations: 0.5249 MB / 425 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.1278, allocations: 303.9 kB / 425.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.128, allocations: 126.6 kB / 425.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.128, allocations: 11.84 kB / 425.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1281, allocations: 38.5 kB / 425.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.1281, allocations: 0 / 425.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002519/0.1306, allocations: 1.351 MB / 426.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.1307, allocations: 131.6 kB / 427 MB, free: 3.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.1311, allocations: 332.6 kB / 427.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1312, allocations: 29.7 kB / 427.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1313, allocations: 149.1 kB / 427.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.1314, allocations: 51.7 kB / 427.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.1315, allocations: 70.12 kB / 427.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1316, allocations: 346.8 kB / 427.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1318, allocations: 68.84 kB / 428 MB, free: 2.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1321, allocations: 318.7 kB / 428.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.1327, allocations: 416.9 kB / 428.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.1327, allocations: 7.938 kB / 428.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006999/0.1334, allocations: 417.5 kB / 429.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1334, allocations: 10.19 kB / 429.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.1334, allocations: 8 kB / 429.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.1334, allocations: 12.81 kB / 429.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.1337, allocations: 95.83 kB / 429.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.1337, allocations: 19.94 kB / 429.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.134, allocations: 23.88 kB / 429.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.134, allocations: 27.98 kB / 429.3 MB, free: 1.102 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.0002073/0.1342, allocations: 165.9 kB / 429.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.1347, allocations: 296.9 kB / 429.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.1354, allocations: 379.4 kB / 430.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1354, allocations: 8 kB / 430.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1355, allocations: 0 / 430.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1355, allocations: 0 / 430.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1359, allocations: 333.3 kB / 430.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1359, allocations: 0 / 430.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.1365, allocations: 127.9 kB / 430.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1365, allocations: 4 kB / 430.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.1366, allocations: 11.94 kB / 430.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1366, allocations: 0 / 430.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1366, allocations: 8 kB / 430.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1376, allocations: 0.7108 MB / 431.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1378, allocations: 124.8 kB / 431.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.1378, allocations: 12 kB / 431.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.1381, allocations: 8 kB / 431.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1381, allocations: 16.05 kB / 431.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1381, allocations: 8 kB / 431.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.1384, allocations: 243.1 kB / 431.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1384, allocations: 0 / 431.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.1389, allocations: 60 kB / 431.8 MB, free: 14.51 MB / 366.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.0001541/0.139, allocations: 119.3 kB / 431.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005792/0.1396, allocations: 293.4 kB / 432.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1396, allocations: 0 / 432.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1397, allocations: 27.92 kB / 432.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.1405, allocations: 213 kB / 432.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1419, allocations: 0.7732 MB / 433.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.1424, allocations: 0.8112 MB / 434 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1425, allocations: 31.44 kB / 434.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1425, allocations: 0 / 434.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.007187/0.1497, allocations: 3.985 MB / 438 MB, free: 8.207 MB / 366.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.267737254034728]