Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001616/0.001616, allocations: 82.33 kB / 21.25 MB, free: 0.5469 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.001504/0.001504, allocations: 160.2 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.2 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1171, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003955/0.1211, allocations: 2.138 MB / 381 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1223, allocations: 0.5888 MB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1224, allocations: 0 / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1226, allocations: 27.61 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.1229, allocations: 75.42 kB / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1232, allocations: 75.83 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.1235, allocations: 279 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1237, allocations: 44.92 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1239, allocations: 131.4 kB / 382.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1241, allocations: 131.2 kB / 382.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.1241, allocations: 24 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-05/0.1242, allocations: 20 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.1243, allocations: 63.7 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1244, allocations: 103.3 kB / 382.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.1247, allocations: 270.6 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1247, allocations: 0 / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1247, allocations: 0 / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1247, allocations: 0 / 382.9 MB, free: 11.5 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.001111/0.1258, allocations: 0.5515 MB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1259, allocations: 11.98 kB / 383.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.126, allocations: 36.7 kB / 383.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.1264, allocations: 258.7 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1264, allocations: 12.41 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1264, allocations: 16 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.1271, allocations: 382.5 kB / 384.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1271, allocations: 3.938 kB / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1271, allocations: 4 kB / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1271, allocations: 7.984 kB / 384.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1273, allocations: 87.95 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.128, allocations: 429.3 kB / 384.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.1287, allocations: 320.5 kB / 384.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.1289, allocations: 130.6 kB / 385.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.129, allocations: 7.984 kB / 385.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.129, allocations: 42.55 kB / 385.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.129, allocations: 0 / 385.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.002452/0.1315, allocations: 1.148 MB / 386.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.1317, allocations: 142.7 kB / 386.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.132, allocations: 320.6 kB / 386.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.1321, allocations: 33.7 kB / 386.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1322, allocations: 149.1 kB / 386.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.1322, allocations: 47.72 kB / 386.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.1323, allocations: 66.31 kB / 387 MB, free: 7.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1325, allocations: 350.8 kB / 387.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1326, allocations: 68.97 kB / 387.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.133, allocations: 308.7 kB / 387.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.1335, allocations: 395.2 kB / 388.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1335, allocations: 0 / 388.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005922/0.134, allocations: 393.6 kB / 388.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1341, allocations: 16.03 kB / 388.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1341, allocations: 8 kB / 388.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.1341, allocations: 8 kB / 388.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.1344, allocations: 95.83 kB / 388.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.1344, allocations: 15.94 kB / 388.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1346, allocations: 28.53 kB / 388.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1346, allocations: 20 kB / 388.7 MB, free: 5.172 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.0001973/0.1348, allocations: 165.7 kB / 388.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.1353, allocations: 298.3 kB / 389.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.136, allocations: 372.5 kB / 389.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.136, allocations: 4 kB / 389.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.136, allocations: 7.938 kB / 389.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.136, allocations: 0 / 389.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.1363, allocations: 197.2 kB / 389.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1363, allocations: 4 kB / 389.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.1368, allocations: 119.8 kB / 389.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.1369, allocations: 7.938 kB / 389.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.1369, allocations: 16 kB / 389.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1369, allocations: 0 / 389.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1369, allocations: 0 / 389.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1379, allocations: 0.6951 MB / 390.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.138, allocations: 43.7 kB / 390.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.1381, allocations: 15.94 kB / 390.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.1383, allocations: 15.94 kB / 390.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1383, allocations: 7.984 kB / 390.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1384, allocations: 8 kB / 390.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.1387, allocations: 255.1 kB / 390.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1387, allocations: 0 / 390.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.1391, allocations: 56 kB / 390.9 MB, free: 2.836 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.0001368/0.1392, allocations: 111.2 kB / 391 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.1397, allocations: 276.7 kB / 391.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1397, allocations: 0 / 391.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.1398, allocations: 35.92 kB / 391.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.1405, allocations: 184.5 kB / 391.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1418, allocations: 0.7181 MB / 392.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.142, allocations: 205.4 kB / 392.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.727e-05/0.1421, allocations: 35.27 kB / 392.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.1422, allocations: 32.5 kB / 392.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1422, allocations: 4 kB / 392.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Templates: time 0.009143/0.1513, allocations: 3.831 MB / 396.3 MB, free: 13.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.499875072040595]