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.001816/0.001816, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001584/0.001584, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.501/1.501, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3671/0.3671, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.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.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.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.0.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.609e-05, allocations: 2.312 kB / 375.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002942/0.002968, allocations: 1.541 MB / 376.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.003224, allocations: 63.75 kB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.003293, allocations: 7.938 kB / 376.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.003449, allocations: 23.84 kB / 376.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.003475, allocations: 7.875 kB / 376.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.003639, allocations: 23.97 kB / 376.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003759, allocations: 71.81 kB / 377 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.003987, allocations: 75.62 kB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.00407, allocations: 51.94 kB / 377.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.004144, allocations: 39.88 kB / 377.1 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.004171, allocations: 8 kB / 377.2 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.004192, allocations: 8 kB / 377.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.004294, allocations: 63.81 kB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.004367, allocations: 47.84 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.00458, allocations: 151.4 kB / 377.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004583, allocations: 0 / 377.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004583, allocations: 0 / 377.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004587, allocations: 0 / 377.4 MB, free: 2.781 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.0005534/0.00514, allocations: 362.1 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.00518, allocations: 8.031 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.00526, allocations: 36.78 kB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.00549, allocations: 153.5 kB / 378 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.005514, allocations: 16.75 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.005543, allocations: 20.38 kB / 378 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.005922, allocations: 197.1 kB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005932, allocations: 4.188 kB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.005951, allocations: 4.375 kB / 378.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.005963, allocations: 8.125 kB / 378.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.006218, allocations: 127.3 kB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.006837, allocations: 401 kB / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.00694, allocations: 42.56 kB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.007008, allocations: 24.97 kB / 378.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.007023, allocations: 0 / 378.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.007063, allocations: 38.55 kB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.007063, allocations: 0 / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002824/0.007346, allocations: 85.5 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.00739, allocations: 51.41 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.0075, allocations: 109.8 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.007517, allocations: 29.7 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.007613, allocations: 136.2 kB / 379.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.00764, allocations: 15.91 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.007677, allocations: 17.72 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.007842, allocations: 314.8 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.007888, allocations: 12 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.007926, allocations: 11.98 kB / 379.6 MB, free: 448 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.008014, allocations: 36.78 kB / 379.6 MB, free: 408 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.008015, allocations: 0 / 379.6 MB, free: 408 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001445/0.00816, allocations: 73.62 kB / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.008172, allocations: 4 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.008176, allocations: 0 / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.008197, allocations: 3.938 kB / 379.7 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.008273, allocations: 8.438 kB / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008277, allocations: 0 / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.008308, allocations: 7.938 kB / 379.7 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.008318, allocations: 11.92 kB / 379.7 MB, free: 292 kB / 346.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.0001219/0.00844, allocations: 137.8 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.008466, allocations: 7.953 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.008484, allocations: 12.12 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.008487, allocations: 3.938 kB / 379.9 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.008493, allocations: 3.984 kB / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.008495, allocations: 0 / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.008884, allocations: 290.2 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008885, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.008936, allocations: 11.94 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.00894, allocations: 3.938 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.008946, allocations: 0 / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.008949, allocations: 8 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00895, allocations: 0 / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.009139, allocations: 155.5 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.009154, allocations: 11.94 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.009173, allocations: 7.938 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.009231, allocations: 3.984 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.009243, allocations: 0 / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.009246, allocations: 4 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.009307, allocations: 87.27 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009307, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000239/0.009546, allocations: 35.78 kB / 380.5 MB, free: 15.46 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.0001057/0.009651, allocations: 95.19 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.009786, allocations: 31.98 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009788, allocations: 0 / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.009831, allocations: 11.98 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.01015, allocations: 30.06 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.01071, allocations: 285.5 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.01086, allocations: 118.2 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.0109, allocations: 4 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.01095, allocations: 16.5 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01095, allocations: 0 / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Templates: time 0.003358/0.0143, allocations: 0.6703 MB / 381.8 MB, free: 14.17 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.822437546914443]