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.001567/0.001567, allocations: 113.8 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.001955/0.001955, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 79.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2934, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003101/0.2966, allocations: 1.574 MB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000271/0.2969, allocations: 68.7 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.297, allocations: 1.312 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.2971, allocations: 17.19 kB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.155e-05/0.2972, allocations: 5.25 kB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.2973, allocations: 33.03 kB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2974, allocations: 65.77 kB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.2977, allocations: 129.5 kB / 0.5335 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.2978, allocations: 37.61 kB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2978, allocations: 38.84 kB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.2979, allocations: 8.25 kB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.2979, allocations: 8.25 kB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.298, allocations: 72.62 kB / 0.5337 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.298, allocations: 64.11 kB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2983, allocations: 157.2 kB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2983, allocations: 5.375 kB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2983, allocations: 0 / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2983, allocations: 0 / 0.5339 GB, free: 11.91 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.0005066/0.2988, allocations: 442 kB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2988, allocations: 8.25 kB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.2989, allocations: 18.47 kB / 0.5343 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.2991, allocations: 214.1 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2992, allocations: 17 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2992, allocations: 16.75 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2995, allocations: 200.7 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2995, allocations: 3.938 kB / 0.5347 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2996, allocations: 6.688 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2996, allocations: 4.031 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.2998, allocations: 127.8 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.3005, allocations: 496.3 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3006, allocations: 38.47 kB / 0.5354 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.3007, allocations: 35.34 kB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3007, allocations: 1 kB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3007, allocations: 31.72 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.3007, allocations: 4 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000235/0.301, allocations: 78.12 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.301, allocations: 55.41 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.3011, allocations: 107.9 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3011, allocations: 26.92 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.3012, allocations: 141 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.3012, allocations: 13.14 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3013, allocations: 17.69 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3014, allocations: 325 kB / 0.5362 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.3015, allocations: 6.688 kB / 0.5362 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.3015, allocations: 14.83 kB / 0.5362 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.3016, allocations: 33.16 kB / 0.5362 GB, free: 9.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3016, allocations: 1.156 kB / 0.5362 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/0.3017, allocations: 66.59 kB / 0.5363 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3017, allocations: 5.969 kB / 0.5363 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3018, allocations: 4 kB / 0.5363 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3018, allocations: 5.141 kB / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.3019, allocations: 7.781 kB / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3019, allocations: 0 / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.3019, allocations: 10.31 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3019, allocations: 5.094 kB / 0.5363 GB, free: 9.66 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 0.000112/0.302, allocations: 139.6 kB / 0.5365 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3021, allocations: 14.03 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.3021, allocations: 5.062 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3021, allocations: 4 kB / 0.5365 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3021, allocations: 1.094 kB / 0.5365 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3022, allocations: 90.11 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3022, allocations: 5.031 kB / 0.5366 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.3023, allocations: 2 kB / 0.5366 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3023, allocations: 1.125 kB / 0.5366 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001592/0.3025, allocations: 150.6 kB / 0.5367 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001908/0.3027, allocations: 238 kB / 0.537 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.62e-05/0.3027, allocations: 13.05 kB / 0.537 GB, free: 9.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.3028, allocations: 93.06 kB / 0.5371 GB, free: 8.949 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3028, allocations: 0 / 0.5371 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.3032, allocations: 93.7 kB / 0.5372 GB, free: 8.875 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007363/0.3039, allocations: 0.7016 MB / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of Templates: time 0.00316/0.3071, allocations: 0.7041 MB / 0.5385 GB, free: 7.852 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