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.001248/0.001248, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001323/0.001323, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.341/1.341, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2036/0.2036, allocations: 46.93 MB / 361.6 MB, free: 4.348 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.001883/0.001883, allocations: 63.89 kB / 0.4974 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 66.03 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002674/0.2912, allocations: 1.573 MB / 0.5634 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.2915, allocations: 63.75 kB / 0.5635 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.2915, allocations: 0 / 0.5635 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.2917, allocations: 27.78 kB / 0.5635 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.136e-05/0.2917, allocations: 3.938 kB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.2918, allocations: 23.97 kB / 0.5635 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.2919, allocations: 71.81 kB / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2921, allocations: 87.61 kB / 0.5637 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.2922, allocations: 35.92 kB / 0.5637 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.2923, allocations: 47.83 kB / 0.5638 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.2923, allocations: 11.98 kB / 0.5638 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.2923, allocations: 11.94 kB / 0.5638 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.2924, allocations: 63.88 kB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.2925, allocations: 67.61 kB / 0.5639 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.2926, allocations: 149.7 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2926, allocations: 0 / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2926, allocations: 0 / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.2926, allocations: 0 / 0.564 GB, free: 2.145 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.0004624/0.2931, allocations: 374.1 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2931, allocations: 8.031 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.2932, allocations: 16.84 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.2934, allocations: 166.2 kB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2934, allocations: 16.69 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2934, allocations: 16.38 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.2938, allocations: 193.1 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2938, allocations: 3.938 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2938, allocations: 8 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2938, allocations: 8 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.294, allocations: 127.3 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.2946, allocations: 456.4 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.2947, allocations: 42.5 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.2948, allocations: 32.91 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2948, allocations: 0 / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2948, allocations: 34.5 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.2948, allocations: 0 / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002263/0.295, allocations: 85.56 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.2951, allocations: 51.41 kB / 0.5656 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.2952, allocations: 109.8 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2952, allocations: 25.7 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.2952, allocations: 140.1 kB / 0.5659 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2953, allocations: 19.84 kB / 0.5659 GB, free: 92 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2953, allocations: 13.72 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2954, allocations: 314.8 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.2955, allocations: 11.98 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.2955, allocations: 16.36 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.2e-05/0.2956, allocations: 44.78 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2956, allocations: 0 / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001182/0.2957, allocations: 65.62 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2957, allocations: 4 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2957, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2957, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.2958, allocations: 11.98 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2958, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.2958, allocations: 4 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2958, allocations: 7.984 kB / 0.5664 GB, free: 15.58 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.0001024/0.296, allocations: 146.2 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.296, allocations: 7.891 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.296, allocations: 4.062 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.296, allocations: 4 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.296, allocations: 3.938 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.296, allocations: 0 / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.2964, allocations: 341.6 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2964, allocations: 0 / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.2964, allocations: 8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2964, allocations: 7.938 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2964, allocations: 3.938 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2964, allocations: 3.984 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2964, allocations: 128 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2966, allocations: 163.4 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.2966, allocations: 8 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2966, allocations: 7.984 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.2966, allocations: 0 / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.2967, allocations: 0 / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2967, allocations: 4 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.2967, allocations: 87.27 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2967, allocations: 3.938 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.2969, allocations: 27.84 kB / 0.5672 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 7.72e-05/0.297, allocations: 91.25 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2971, allocations: 39.86 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2971, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.2972, allocations: 15.98 kB / 0.5673 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.0002882/0.2975, allocations: 15.98 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.298, allocations: 297 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2983, allocations: 0.7314 MB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.2983, allocations: 11.44 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2983, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of Templates: time 0.002627/0.3009, allocations: 1.227 MB / 0.5695 GB, free: 12.2 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 -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: 7.237319946056232]