Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 46.98 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002965/0.2977, allocations: 1.535 MB / 0.5633 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.298, allocations: 59.77 kB / 0.5634 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.298, allocations: 7.938 kB / 0.5634 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2982, allocations: 15.86 kB / 0.5634 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.01e-05/0.2982, allocations: 7.922 kB / 0.5634 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.2984, allocations: 23.97 kB / 0.5634 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2985, allocations: 83.75 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.2987, allocations: 83.61 kB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.2988, allocations: 35.92 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.2989, allocations: 47.81 kB / 0.5637 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2989, allocations: 8 kB / 0.5637 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.2989, allocations: 8 kB / 0.5637 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.299, allocations: 67.83 kB / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.2991, allocations: 51.67 kB / 0.5638 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2993, allocations: 157.7 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2993, allocations: 0 / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.2993, allocations: 8 kB / 0.5639 GB, free: 1.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2993, allocations: 0 / 0.5639 GB, free: 1.996 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.0005302/0.2998, allocations: 358.2 kB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2998, allocations: 12.03 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.2999, allocations: 16.84 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3001, allocations: 166.2 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3002, allocations: 8.75 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3002, allocations: 20.38 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.3006, allocations: 197.1 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3006, allocations: 11.91 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3006, allocations: 8 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3006, allocations: 4 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.3008, allocations: 123.3 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.3014, allocations: 385.1 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/0.3015, allocations: 42.5 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.341e-05/0.3016, allocations: 28.91 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3016, allocations: 8 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3016, allocations: 38.5 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3016, allocations: 0 / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002665/0.3019, allocations: 77.56 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3019, allocations: 51.41 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.302, allocations: 113.8 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.302, allocations: 29.7 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.3021, allocations: 140.1 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3022, allocations: 11.86 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3022, allocations: 21.72 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3023, allocations: 318.8 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.3024, allocations: 12 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.3024, allocations: 8.234 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.3025, allocations: 40.97 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3025, allocations: 0 / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001247/0.3026, allocations: 65.56 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3026, allocations: 4 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3026, allocations: 4 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3027, allocations: 4 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.3027, allocations: 11.98 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3027, allocations: 0 / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.3028, allocations: 3.938 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3028, allocations: 4 kB / 0.5662 GB, free: 15.52 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.0001132/0.3029, allocations: 137.8 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3029, allocations: 11.89 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.3029, allocations: 8.062 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3029, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3029, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.303, allocations: 4 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.3033, allocations: 298.1 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3033, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.3033, allocations: 11.98 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3033, allocations: 0 / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3033, allocations: 4 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3034, allocations: 0 / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3034, allocations: 0 / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3035, allocations: 171.5 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.3035, allocations: 4 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3036, allocations: 8 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.3036, allocations: 0 / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.3036, allocations: 3.984 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3036, allocations: 7.938 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.39e-05/0.3037, allocations: 83.28 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3037, allocations: 0 / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3039, allocations: 27.84 kB / 0.5669 GB, free: 14.69 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 9.178e-05/0.304, allocations: 95.23 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3042, allocations: 35.92 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3042, allocations: 4 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.3042, allocations: 11.98 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3045, allocations: 22.97 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.305, allocations: 263.4 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3051, allocations: 114.1 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.3052, allocations: 11.78 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3052, allocations: 11.44 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3052, allocations: 0 / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of Templates: time 0.003171/0.3084, allocations: 0.7722 MB / 0.5682 GB, free: 13.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.8404193190071965]