Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001215/0.001215, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002386/0.003601, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001281/0.001281, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00179/0.003071, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.159/1.159, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1154/1.274, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3238/0.3238, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03646/0.3603, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.688e-05/3.907e-05, allocations: 4.141 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003644/0.003683, allocations: 1.621 MB / 292.2 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.003935, allocations: 64.59 kB / 292.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.004022, allocations: 6.406 kB / 292.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.004139, allocations: 22.56 kB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.821e-05/0.004168, allocations: 3.938 kB / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.004344, allocations: 27.95 kB / 292.3 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.004477, allocations: 68.45 kB / 292.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.004749, allocations: 92.31 kB / 292.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004864, allocations: 54.78 kB / 292.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.468e-05/0.004949, allocations: 30.47 kB / 292.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.004987, allocations: 8.406 kB / 292.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.005009, allocations: 12.47 kB / 292.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.0051, allocations: 62.41 kB / 292.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.005166, allocations: 33.97 kB / 292.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.00536, allocations: 100.9 kB / 292.8 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.995e-05/0.00538, allocations: 0 / 292.8 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005382, allocations: 0 / 292.8 MB, free: 6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.005404, allocations: 2 kB / 292.8 MB, free: 6 MB / 282.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.0006176/0.006021, allocations: 372.8 kB / 293.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.006064, allocations: 7.25 kB / 293.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.006132, allocations: 28.23 kB / 293.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.006673, allocations: 155 kB / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.006695, allocations: 12.75 kB / 293.4 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.006723, allocations: 20.38 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.006961, allocations: 133.6 kB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006973, allocations: 192 / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.006989, allocations: 4.375 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.006999, allocations: 8.125 kB / 293.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.007076, allocations: 47.67 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.007605, allocations: 329.2 kB / 293.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.007679, allocations: 30.5 kB / 293.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.007709, allocations: 20.97 kB / 293.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.007723, allocations: 4 kB / 293.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.00775, allocations: 30.56 kB / 294 MB, free: 4.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.007752, allocations: 0 / 294 MB, free: 4.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001643/0.007916, allocations: 49.69 kB / 294 MB, free: 4.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.007965, allocations: 59.34 kB / 294.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.008062, allocations: 118.6 kB / 294.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.008077, allocations: 25.7 kB / 294.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.008153, allocations: 136.2 kB / 294.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.008189, allocations: 19.84 kB / 294.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.008235, allocations: 17.7 kB / 294.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.008379, allocations: 314.8 kB / 294.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.008394, allocations: 4 kB / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.008408, allocations: 4 kB / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.00845, allocations: 24.83 kB / 294.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.008453, allocations: 3.938 kB / 294.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.134e-05/0.008545, allocations: 50.12 kB / 294.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.008566, allocations: 8 kB / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.008573, allocations: 0 / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.008585, allocations: 3.938 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.00869, allocations: 8 kB / 294.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.008696, allocations: 3.938 kB / 294.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.008725, allocations: 7.953 kB / 294.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008733, allocations: 0 / 294.8 MB, free: 3.934 MB / 282.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 8.395e-05/0.008817, allocations: 120.7 kB / 294.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.00884, allocations: 4 kB / 294.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.008867, allocations: 4.125 kB / 294.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.008871, allocations: 4 kB / 294.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.008875, allocations: 3.938 kB / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008879, allocations: 0 / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.009147, allocations: 218.7 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.009151, allocations: 3.984 kB / 295.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.00921, allocations: 12 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.009226, allocations: 7.984 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.00923, allocations: 0 / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.00924, allocations: 11.94 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.009245, allocations: 4 kB / 295.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.009248, allocations: 0 / 295.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.009363, allocations: 135.5 kB / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.009376, allocations: 4 kB / 295.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.009429, allocations: 4 kB / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.009445, allocations: 7.922 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.009451, allocations: 4 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.009476, allocations: 8.859 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009476, allocations: 0 / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.009673, allocations: 27.78 kB / 295.4 MB, free: 3.305 MB / 282.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.000115/0.009788, allocations: 80.41 kB / 295.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.009873, allocations: 24.98 kB / 295.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.009881, allocations: 4 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.009901, allocations: 16.78 kB / 295.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.01014, allocations: 31.81 kB / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.01088, allocations: 262.1 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.01095, allocations: 79.31 kB / 295.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.01099, allocations: 11.98 kB / 295.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.01106, allocations: 59.38 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01106, allocations: 0 / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of Templates: time 0.00359/0.01465, allocations: 0.7641 MB / 296.7 MB, free: 1.941 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.267403906211257]