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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001203/0.001203, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 76.2 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002758/0.3329, allocations: 1.562 MB / 0.5332 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002346/0.3332, allocations: 63.28 kB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.3332, allocations: 2.188 kB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.3334, allocations: 21.55 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.3334, allocations: 3.938 kB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.3336, allocations: 21.56 kB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3337, allocations: 77.72 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.334, allocations: 125.1 kB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.334, allocations: 37.61 kB / 0.5335 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.3341, allocations: 38.84 kB / 0.5336 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3341, allocations: 8.25 kB / 0.5336 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.3341, allocations: 8.25 kB / 0.5336 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.3342, allocations: 76.67 kB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.3343, allocations: 64.11 kB / 0.5337 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3345, allocations: 144.8 kB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3345, allocations: 5.375 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3345, allocations: 3.938 kB / 0.5339 GB, free: 11.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3345, allocations: 0 / 0.5339 GB, free: 11.93 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.0004947/0.335, allocations: 435.9 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3351, allocations: 13.56 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3351, allocations: 20.98 kB / 0.5343 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3353, allocations: 219.4 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3354, allocations: 11.62 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.3354, allocations: 20.75 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.3357, allocations: 192.9 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3357, allocations: 3.938 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3358, allocations: 10.06 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3358, allocations: 4.594 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.336, allocations: 122.8 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.3366, allocations: 0.4891 MB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.3367, allocations: 38.66 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.3367, allocations: 31.66 kB / 0.5354 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3368, allocations: 3.984 kB / 0.5354 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3368, allocations: 39.53 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.3368, allocations: 1.156 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002268/0.337, allocations: 73.3 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3371, allocations: 52.53 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.3372, allocations: 108.1 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3372, allocations: 25.7 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.3372, allocations: 136.9 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3373, allocations: 17.98 kB / 0.5358 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3373, allocations: 17.19 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.3374, allocations: 317.1 kB / 0.5362 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.3375, allocations: 14.8 kB / 0.5362 GB, free: 9.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.3375, allocations: 10.97 kB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.3376, allocations: 36.69 kB / 0.5362 GB, free: 9.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3376, allocations: 1.188 kB / 0.5362 GB, free: 9.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001133/0.3377, allocations: 71.11 kB / 0.5363 GB, free: 9.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3377, allocations: 5.688 kB / 0.5363 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3377, allocations: 0 / 0.5363 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3378, allocations: 5.094 kB / 0.5363 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.3378, allocations: 11.33 kB / 0.5363 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3379, allocations: 4.906 kB / 0.5363 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.3379, allocations: 5.969 kB / 0.5363 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3379, allocations: 1.156 kB / 0.5363 GB, free: 9.688 MB / 398.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 9.739e-05/0.338, allocations: 143.3 kB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.338, allocations: 9.844 kB / 0.5365 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.3381, allocations: 9.031 kB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.3381, allocations: 12.92 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3381, allocations: 0 / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3381, allocations: 78.36 kB / 0.5366 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3381, allocations: 1.344 kB / 0.5366 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.3382, allocations: 1.562 kB / 0.5366 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3382, allocations: 6.641 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001439/0.3384, allocations: 141.4 kB / 0.5367 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001753/0.3385, allocations: 245.8 kB / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.775e-05/0.3386, allocations: 16.42 kB / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.3387, allocations: 86.16 kB / 0.537 GB, free: 8.98 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3387, allocations: 0 / 0.537 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.339, allocations: 94.36 kB / 0.5371 GB, free: 8.906 MB / 398.1 MB Notification: Performance of SimCode: time 0.000813/0.3398, allocations: 0.704 MB / 0.5378 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Templates: time 0.003058/0.3429, allocations: 0.7223 MB / 0.5385 GB, free: 7.871 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches