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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002122/0.002122, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002853/0.002853, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.591/1.591, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3819/0.3819, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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=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_trunk_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_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.452e-05, allocations: 8 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003004/0.003038, allocations: 1.548 MB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.003304, allocations: 63.75 kB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.003363, allocations: 3.938 kB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.003523, allocations: 27.78 kB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.003553, allocations: 7.938 kB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.003719, allocations: 23.97 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.003845, allocations: 71.81 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.004085, allocations: 79.61 kB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.004174, allocations: 51.89 kB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.004248, allocations: 35.89 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.004277, allocations: 8 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.24e-05/0.0043, allocations: 8 kB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.004395, allocations: 67.8 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.00446, allocations: 39.91 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.004681, allocations: 159.4 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.004684, allocations: 0 / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004685, allocations: 4 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.00469, allocations: 0 / 379.4 MB, free: 0.7148 MB / 346.7 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.0006266/0.005316, allocations: 468 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.005357, allocations: 12.03 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.005434, allocations: 36.8 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.005686, allocations: 152.4 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.00573, allocations: 16.83 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.005759, allocations: 16.38 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.006054, allocations: 133.2 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.006066, allocations: 4.188 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.006082, allocations: 4.375 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.006092, allocations: 8.125 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.006246, allocations: 59.33 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.006944, allocations: 480.2 kB / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.007066, allocations: 43.05 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.007136, allocations: 35.81 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.007153, allocations: 3.938 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.007196, allocations: 41.31 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.007197, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002589/0.007456, allocations: 73.58 kB / 380.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.007507, allocations: 51.41 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.007651, allocations: 173.9 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.007671, allocations: 25.7 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.007806, allocations: 186.9 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.007836, allocations: 19.88 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.007879, allocations: 27.38 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/0.008159, allocations: 496.1 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.0082, allocations: 11.98 kB / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.00823, allocations: 8 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.00831, allocations: 39.61 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008312, allocations: 0 / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.008434, allocations: 61.64 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.008449, allocations: 4 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008453, allocations: 4 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.008473, allocations: 8.375 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.008552, allocations: 8 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.00856, allocations: 3.984 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.008587, allocations: 7.938 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008594, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 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.0001273/0.008721, allocations: 164.5 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.008748, allocations: 7.953 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.00877, allocations: 4.125 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.008775, allocations: 3.938 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.008782, allocations: 4 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008785, allocations: 4 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.009211, allocations: 357.5 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009212, allocations: 0 / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.009254, allocations: 11.94 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.009263, allocations: 7.922 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.009272, allocations: 3.984 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.009276, allocations: 4 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009276, allocations: 0 / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.009491, allocations: 211.9 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.009501, allocations: 3.953 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.009515, allocations: 7.938 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.009566, allocations: 4 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.009589, allocations: 3.984 kB / 382.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.009592, allocations: 0 / 382.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.009684, allocations: 135.2 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009684, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.00992, allocations: 39.72 kB / 383 MB, free: 12.82 MB / 362.7 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.0001271/0.01005, allocations: 91.23 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.0102, allocations: 35.67 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0102, allocations: 4 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.01025, allocations: 23.88 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.01051, allocations: 18.5 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.01109, allocations: 275.2 kB / 383.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.01123, allocations: 118.2 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.966e-05/0.01126, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.01129, allocations: 12.5 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01129, allocations: 4 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Templates: time 0.003706/0.015, allocations: 0.6658 MB / 384.2 MB, free: 11.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.034954827977344]