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.001327/0.001327, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001414/0.001414, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.439/1.439, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.2248/0.2248, allocations: 46.89 MB / 361.1 MB, free: 4.656 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.002327/0.002327, allocations: 79.88 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2837, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002761/0.2865, allocations: 1.577 MB / 0.5627 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.2867, allocations: 63.75 kB / 0.5628 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.2867, allocations: 0 / 0.5628 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2869, allocations: 23.84 kB / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.2869, allocations: 3.938 kB / 0.5628 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.287, allocations: 27.91 kB / 0.5628 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2871, allocations: 75.81 kB / 0.5629 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.2874, allocations: 87.39 kB / 0.563 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.2874, allocations: 31.92 kB / 0.563 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.2875, allocations: 43.83 kB / 0.5631 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.2875, allocations: 11.94 kB / 0.5631 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.2875, allocations: 8 kB / 0.5631 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.2876, allocations: 67.88 kB / 0.5631 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.77e-05/0.2877, allocations: 71.59 kB / 0.5632 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.2879, allocations: 150.1 kB / 0.5634 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2879, allocations: 0 / 0.5634 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2879, allocations: 0 / 0.5634 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2879, allocations: 3.938 kB / 0.5634 GB, free: 2.805 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.0005358/0.2884, allocations: 439.3 kB / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.2885, allocations: 8.031 kB / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.2885, allocations: 20.84 kB / 0.5638 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.2888, allocations: 220.1 kB / 0.564 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2888, allocations: 20.75 kB / 0.564 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.2888, allocations: 16.38 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.2892, allocations: 201.6 kB / 0.5642 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2892, allocations: 3.938 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.2892, allocations: 8 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2892, allocations: 4 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.2895, allocations: 123.3 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.2901, allocations: 0.4921 MB / 0.5649 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2902, allocations: 42.55 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.2903, allocations: 28.91 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.2903, allocations: 0 / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2903, allocations: 38.56 kB / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.2904, allocations: 0 / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002425/0.2906, allocations: 77.56 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2906, allocations: 55.41 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.2907, allocations: 105.8 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2907, allocations: 29.7 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.2908, allocations: 144.1 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2909, allocations: 11.86 kB / 0.5654 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.2909, allocations: 25.7 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.291, allocations: 310.8 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.2911, allocations: 15.98 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.2911, allocations: 8 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.2912, allocations: 37.22 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2912, allocations: 0 / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001327/0.2913, allocations: 73.55 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2913, allocations: 8 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2914, allocations: 0 / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2914, allocations: 0 / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.2914, allocations: 8 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2914, allocations: 0 / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.2915, allocations: 7.984 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2915, allocations: 0 / 0.5658 GB, free: 40 kB / 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.000123/0.2916, allocations: 129.8 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.2916, allocations: 11.89 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.2917, allocations: 15.95 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2917, allocations: 4 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2917, allocations: 0 / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2917, allocations: 0 / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.2921, allocations: 366.4 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2921, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.2921, allocations: 15.92 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2921, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.2921, allocations: 4 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2921, allocations: 4 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2921, allocations: 3.938 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2923, allocations: 167.6 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.2924, allocations: 77.11 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2924, allocations: 4 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.2925, allocations: 4 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.2925, allocations: 3.984 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2925, allocations: 4 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.951e-05/0.2925, allocations: 87.28 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2925, allocations: 0 / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.2928, allocations: 27.84 kB / 0.5667 GB, free: 15.03 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.0001018/0.2929, allocations: 95.23 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.293, allocations: 35.86 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.293, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.2931, allocations: 23.98 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2933, allocations: 14.28 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.2938, allocations: 267.3 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.2942, allocations: 0.7275 MB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.2942, allocations: 11.72 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.2943, allocations: 7.438 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2943, allocations: 8 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Templates: time 0.003084/0.2973, allocations: 0.6452 MB / 0.5685 GB, free: 13.15 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.805142628028989]