Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 160.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 54.36 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003817/0.1061, allocations: 2.131 MB / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1074, allocations: 0.5849 MB / 381.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1076, allocations: 4 kB / 381.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.1077, allocations: 27.61 kB / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.108, allocations: 75.42 kB / 381.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1082, allocations: 71.84 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.1086, allocations: 283 kB / 382.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1087, allocations: 48.92 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.109, allocations: 131.4 kB / 382.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1092, allocations: 135.2 kB / 382.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.1092, allocations: 20 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.1093, allocations: 24 kB / 382.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.1094, allocations: 67.69 kB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1095, allocations: 103.3 kB / 382.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1098, allocations: 266.7 kB / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1098, allocations: 0 / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1098, allocations: 0 / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1098, allocations: 3.938 kB / 382.8 MB, free: 11.67 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.1109, allocations: 0.5437 MB / 383.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1109, allocations: 12.03 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.111, allocations: 36.69 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.1114, allocations: 258.7 kB / 383.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1114, allocations: 20.41 kB / 383.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.1115, allocations: 16 kB / 383.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.1122, allocations: 367.2 kB / 384.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1122, allocations: 0 / 384.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1122, allocations: 11.98 kB / 384.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1122, allocations: 12 kB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.1124, allocations: 87.89 kB / 384.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.1131, allocations: 433.3 kB / 384.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.1138, allocations: 307.6 kB / 384.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.114, allocations: 141.7 kB / 385.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1141, allocations: 8 kB / 385.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1141, allocations: 34.56 kB / 385.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.1141, allocations: 0 / 385.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.002348/0.1164, allocations: 1.156 MB / 386.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1166, allocations: 138.7 kB / 386.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.117, allocations: 332.6 kB / 386.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.117, allocations: 29.7 kB / 386.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1171, allocations: 149.1 kB / 386.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.1172, allocations: 47.72 kB / 386.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.1173, allocations: 66.2 kB / 387 MB, free: 7.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1174, allocations: 346.8 kB / 387.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1176, allocations: 64.95 kB / 387.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1179, allocations: 301.3 kB / 387.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.1184, allocations: 399.2 kB / 388.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1184, allocations: 4 kB / 388.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006453/0.1191, allocations: 400.9 kB / 388.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1191, allocations: 8 kB / 388.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.1191, allocations: 11.94 kB / 388.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.1192, allocations: 12.72 kB / 388.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.1194, allocations: 87.84 kB / 388.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.1194, allocations: 27.98 kB / 388.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1197, allocations: 23.89 kB / 388.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1197, allocations: 24 kB / 388.7 MB, free: 5.352 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.0001861/0.1199, allocations: 161.6 kB / 388.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/0.1204, allocations: 294.5 kB / 389.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.1211, allocations: 372.5 kB / 389.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1211, allocations: 4 kB / 389.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1211, allocations: 0.6562 kB / 389.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.1211, allocations: 7.984 kB / 389.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.1214, allocations: 201.2 kB / 389.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1214, allocations: 0 / 389.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.122, allocations: 119.9 kB / 389.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.122, allocations: 3.938 kB / 389.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.1221, allocations: 19.92 kB / 389.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1221, allocations: 4 kB / 389.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1221, allocations: 64 / 389.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1231, allocations: 0.7029 MB / 390.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1232, allocations: 39.72 kB / 390.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.1232, allocations: 19.94 kB / 390.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.1236, allocations: 11.98 kB / 390.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1236, allocations: 8.172 kB / 390.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.1237, allocations: 12 kB / 390.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.1239, allocations: 239.1 kB / 390.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1239, allocations: 4 kB / 390.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.1244, allocations: 60 kB / 390.9 MB, free: 3.02 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.0001191/0.1245, allocations: 115.2 kB / 391 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.125, allocations: 280.8 kB / 391.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.125, allocations: 0.6875 kB / 391.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.125, allocations: 31.94 kB / 391.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.1258, allocations: 188.4 kB / 391.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.127, allocations: 0.7171 MB / 392.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1272, allocations: 205.5 kB / 392.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.134e-05/0.1273, allocations: 35.28 kB / 392.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.1274, allocations: 32.48 kB / 392.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1274, allocations: 0 / 392.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Templates: time 0.008563/0.136, allocations: 3.83 MB / 396.3 MB, free: 13.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.42434481496457]