Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001486/0.001486, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001901/0.001901, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.525/1.525, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2407/0.2407, allocations: 46.93 MB / 361.4 MB, free: 4.41 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 83.84 kB / 0.4972 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3853, allocations: 66.04 MB / 0.5616 GB, free: 4.523 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003946/0.3892, allocations: 1.581 MB / 0.5632 GB, free: 2.934 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002743/0.3895, allocations: 63.75 kB / 0.5632 GB, free: 2.871 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.3895, allocations: 3.938 kB / 0.5633 GB, free: 2.867 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3897, allocations: 19.84 kB / 0.5633 GB, free: 2.848 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.3897, allocations: 3.938 kB / 0.5633 GB, free: 2.844 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.3899, allocations: 27.91 kB / 0.5633 GB, free: 2.816 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3901, allocations: 71.83 kB / 0.5634 GB, free: 2.746 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.3904, allocations: 91.59 kB / 0.5635 GB, free: 2.648 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.3904, allocations: 35.92 kB / 0.5635 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3905, allocations: 43.83 kB / 0.5635 GB, free: 2.57 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.3906, allocations: 12 kB / 0.5635 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.57e-05/0.3906, allocations: 8 kB / 0.5636 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3907, allocations: 63.83 kB / 0.5636 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.3908, allocations: 67.59 kB / 0.5637 GB, free: 2.422 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.391, allocations: 157.8 kB / 0.5638 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.391, allocations: 0 / 0.5638 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.675e-06/0.391, allocations: 0 / 0.5638 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.296e-06/0.391, allocations: 0 / 0.5638 GB, free: 2.273 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.0006515/0.3917, allocations: 366.1 kB / 0.5642 GB, free: 1.887 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3917, allocations: 8.031 kB / 0.5642 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.3918, allocations: 20.84 kB / 0.5642 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3921, allocations: 158.3 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.3922, allocations: 16.75 kB / 0.5644 GB, free: 1.664 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.3922, allocations: 16.38 kB / 0.5644 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.3926, allocations: 197.1 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3926, allocations: 3.938 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.3926, allocations: 4 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3926, allocations: 4 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.3929, allocations: 127.3 kB / 0.5647 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.3937, allocations: 460.4 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3938, allocations: 38.56 kB / 0.5652 GB, free: 0.7773 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.3939, allocations: 32.91 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3939, allocations: 4 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.394, allocations: 30.56 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.394, allocations: 0 / 0.5652 GB, free: 0.6992 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0002949/0.3943, allocations: 77.56 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3943, allocations: 59.34 kB / 0.5654 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3944, allocations: 113.8 kB / 0.5655 GB, free: 436 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3945, allocations: 25.7 kB / 0.5655 GB, free: 404 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.3946, allocations: 144.1 kB / 0.5657 GB, free: 252 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.3946, allocations: 23.78 kB / 0.5657 GB, free: 228 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3946, allocations: 17.72 kB / 0.5657 GB, free: 204 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000172/0.3948, allocations: 314.8 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.3948, allocations: 11.98 kB / 0.566 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.3949, allocations: 15.98 kB / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.395, allocations: 33.22 kB / 0.566 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.395, allocations: 4 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001297/0.3951, allocations: 65.56 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3951, allocations: 8 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3951, allocations: 0 / 0.5661 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3951, allocations: 0 / 0.5661 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.3952, allocations: 11.98 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3952, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.3952, allocations: 4 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3953, allocations: 0 / 0.5661 GB, free: 15.72 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.000129/0.3954, allocations: 143.2 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3954, allocations: 11.89 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.3954, allocations: 8.062 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3954, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3954, allocations: 4 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3954, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3959, allocations: 333.5 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3959, allocations: 0 / 0.5666 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.3959, allocations: 12 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3959, allocations: 0 / 0.5666 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3959, allocations: 8 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3959, allocations: 0 / 0.5666 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3959, allocations: 3.984 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.3961, allocations: 163.6 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.3961, allocations: 0 / 0.5668 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3961, allocations: 4 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.3962, allocations: 15.97 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.3962, allocations: 7.938 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3962, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 5.742e-05/0.3963, allocations: 87.27 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3963, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002327/0.3965, allocations: 31.84 kB / 0.5669 GB, free: 14.83 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.0001036/0.3966, allocations: 87.25 kB / 0.567 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001587/0.3968, allocations: 39.86 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3968, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.3968, allocations: 19.98 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3972, allocations: 18.27 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.3978, allocations: 259.4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.3983, allocations: 0.7275 MB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 3.891e-05/0.3983, allocations: 11.78 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3983, allocations: 11.44 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3983, allocations: 0 / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of Templates: time 0.003612/0.402, allocations: 0.6678 MB / 0.5687 GB, free: 12.95 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.180895062163472]