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.001259/0.001259, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002125/0.002125, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.363/1.363, allocations: 230.3 MB / 258 MB, free: 8.27 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.2099/0.2099, allocations: 46.9 MB / 361.3 MB, free: 4.453 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.002206/0.002206, allocations: 79.88 kB / 0.497 GB, free: 7.598 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.269, allocations: 66.02 MB / 0.5615 GB, free: 4.656 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002563/0.2716, allocations: 1.588 MB / 0.5631 GB, free: 3.062 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000213/0.2718, allocations: 63.75 kB / 0.5631 GB, free: 3 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.2718, allocations: 3.938 kB / 0.5631 GB, free: 2.996 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2719, allocations: 19.84 kB / 0.5632 GB, free: 2.977 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.977e-05/0.272, allocations: 3.938 kB / 0.5632 GB, free: 2.973 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.2721, allocations: 23.92 kB / 0.5632 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2722, allocations: 71.81 kB / 0.5633 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.2724, allocations: 95.59 kB / 0.5633 GB, free: 2.777 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.2725, allocations: 43.86 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.2725, allocations: 43.83 kB / 0.5634 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.2726, allocations: 8 kB / 0.5634 GB, free: 2.684 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.2726, allocations: 8 kB / 0.5634 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.2727, allocations: 63.83 kB / 0.5635 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.2727, allocations: 63.61 kB / 0.5636 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.2729, allocations: 157.8 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2729, allocations: 0 / 0.5637 GB, free: 2.402 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.885e-06/0.2729, allocations: 4 kB / 0.5637 GB, free: 2.398 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.56e-06/0.2729, allocations: 0 / 0.5637 GB, free: 2.398 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.0004469/0.2734, allocations: 366.1 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2734, allocations: 12.03 kB / 0.5641 GB, free: 2 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.2734, allocations: 16.84 kB / 0.5641 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.2737, allocations: 158.3 kB / 0.5642 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2737, allocations: 16.75 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2737, allocations: 16.38 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.274, allocations: 197.1 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2741, allocations: 7.938 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.2741, allocations: 4 kB / 0.5645 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2741, allocations: 8 kB / 0.5645 GB, free: 1.555 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.2743, allocations: 123.3 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.2749, allocations: 460.3 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.275, allocations: 38.56 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.2751, allocations: 32.91 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.2751, allocations: 7.984 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2751, allocations: 30.56 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2751, allocations: 0 / 0.5651 GB, free: 0.8164 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0002267/0.2753, allocations: 77.56 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2754, allocations: 55.34 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.2754, allocations: 117.8 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.2755, allocations: 25.7 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.2755, allocations: 136.1 kB / 0.5655 GB, free: 380 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2756, allocations: 15.86 kB / 0.5656 GB, free: 364 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.2756, allocations: 21.7 kB / 0.5656 GB, free: 336 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001205/0.2757, allocations: 310.8 kB / 0.5659 GB, free: 16 kB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.2758, allocations: 15.98 kB / 0.5659 GB, free: 0 / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.875e-05/0.2758, allocations: 12.05 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.2759, allocations: 32.8 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2759, allocations: 0 / 0.5659 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.000126/0.276, allocations: 69.92 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.276, allocations: 4 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.276, allocations: 4.062 kB / 0.566 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.276, allocations: 7.938 kB / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.2761, allocations: 11.98 kB / 0.566 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2761, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.2761, allocations: 4 kB / 0.566 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2762, allocations: 4 kB / 0.566 GB, free: 15.84 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.000103/0.2763, allocations: 135.4 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2763, allocations: 15.88 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.2763, allocations: 8.062 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2763, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2763, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2763, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.2767, allocations: 337.5 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2767, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.2767, allocations: 11.98 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2767, allocations: 0 / 0.5665 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2767, allocations: 4 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2767, allocations: 0 / 0.5665 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2767, allocations: 0 / 0.5665 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.2769, allocations: 175.3 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.2769, allocations: 4 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.2769, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.277, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.277, allocations: 15.92 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.277, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.713e-05/0.2771, allocations: 87.27 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2771, allocations: 0 / 0.5668 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002228/0.2773, allocations: 27.84 kB / 0.5668 GB, free: 14.96 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 8.679e-05/0.2774, allocations: 95.25 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001309/0.2775, allocations: 39.98 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2775, allocations: 0 / 0.5669 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.2775, allocations: 15.98 kB / 0.567 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2778, allocations: 12 kB / 0.567 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.2783, allocations: 263.4 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2786, allocations: 0.7314 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 2.803e-05/0.2786, allocations: 7.781 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.2786, allocations: 7.438 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.2786, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of Templates: time 0.002913/0.2816, allocations: 0.6558 MB / 0.5686 GB, free: 13.08 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/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: 4.646798027679324]