Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.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.001443/0.001443, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001502/0.001502, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 46.95 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 79.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3913, allocations: 66.08 MB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003046/0.3944, allocations: 1.531 MB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002733/0.3946, allocations: 63.75 kB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.3947, allocations: 7.938 kB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.3949, allocations: 27.78 kB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.909e-05/0.3949, allocations: 7.938 kB / 0.5635 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3951, allocations: 19.97 kB / 0.5635 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3952, allocations: 63.89 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.3955, allocations: 91.59 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.3955, allocations: 39.84 kB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.3956, allocations: 35.84 kB / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3956, allocations: 8 kB / 0.5637 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.3957, allocations: 8 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.3958, allocations: 71.81 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.3958, allocations: 55.73 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.396, allocations: 157.8 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3961, allocations: 3.938 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3961, allocations: 0 / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3961, allocations: 0 / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005698/0.3966, allocations: 362.2 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3967, allocations: 8.031 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.3967, allocations: 16.84 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.397, allocations: 162.2 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.397, allocations: 12.75 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.397, allocations: 24.38 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.3974, allocations: 193.1 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3974, allocations: 3.938 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3974, allocations: 4 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3974, allocations: 7.938 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.3976, allocations: 127.3 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.3982, allocations: 404.9 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.3983, allocations: 38.56 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.3984, allocations: 24.97 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3984, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3985, allocations: 42.5 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.3985, allocations: 0 / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002587/0.3987, allocations: 77.56 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.3988, allocations: 51.41 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3989, allocations: 113.9 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3989, allocations: 33.7 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.399, allocations: 136.1 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.399, allocations: 15.86 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.3991, allocations: 21.7 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3992, allocations: 310.8 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.3993, allocations: 15.98 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.3993, allocations: 8 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.3994, allocations: 37.16 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3994, allocations: 0 / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001311/0.3995, allocations: 73.61 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3995, allocations: 8 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3995, allocations: 0 / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3995, allocations: 0 / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.3996, allocations: 8 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3996, allocations: 3.984 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.3997, allocations: 4 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3997, allocations: 0 / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000114/0.3998, allocations: 137.7 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3998, allocations: 15.89 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3998, allocations: 12.05 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3998, allocations: 0 / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3998, allocations: 4 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3998, allocations: 3.938 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.4002, allocations: 286.2 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4002, allocations: 0 / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.4002, allocations: 11.94 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4002, allocations: 4 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.4002, allocations: 0 / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4002, allocations: 7.984 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4002, allocations: 0 / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.4004, allocations: 159.4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.4004, allocations: 4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.4005, allocations: 7.984 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.4005, allocations: 4.125 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.4005, allocations: 4 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4005, allocations: 4 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.69e-05/0.4006, allocations: 91.27 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4006, allocations: 0 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.4008, allocations: 27.84 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001084/0.4009, allocations: 95.19 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.4011, allocations: 27.98 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4011, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.4011, allocations: 11.98 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4014, allocations: 22.31 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.402, allocations: 297 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4022, allocations: 122.1 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4022, allocations: 11.44 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4022, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of Templates: time 0.003227/0.4054, allocations: 1.266 MB / 0.5688 GB, free: 12.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.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.934252709615976]