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.001298/0.001298, allocations: 81.62 kB / 21.25 MB, free: 0.5469 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.001427/0.001427, allocations: 159.8 kB / 24.5 MB, free: 3.719 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.461/1.461, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 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.2214/0.2214, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 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 0.002535/0.002535, allocations: 87.84 kB / 443.2 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3937, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002446/0.3962, allocations: 1.554 MB / 0.4988 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.3964, allocations: 56.12 kB / 0.4988 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.3965, allocations: 7.188 kB / 0.4988 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.3966, allocations: 22.19 kB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.3966, allocations: 3.938 kB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.3968, allocations: 25.31 kB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3969, allocations: 70.23 kB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.3971, allocations: 92.66 kB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.3972, allocations: 31.36 kB / 0.4991 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.3972, allocations: 39.77 kB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3973, allocations: 13.44 kB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.3973, allocations: 8.875 kB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.3973, allocations: 69.34 kB / 0.4992 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.3974, allocations: 58.44 kB / 0.4993 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3976, allocations: 148.7 kB / 0.4994 GB, free: 28.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3976, allocations: 0 / 0.4994 GB, free: 28.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3976, allocations: 0 / 0.4994 GB, free: 28.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3976, allocations: 0 / 0.4994 GB, free: 28.45 MB / 446.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.000456/0.398, allocations: 369.1 kB / 0.4997 GB, free: 28.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3981, allocations: 9.438 kB / 0.4998 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.3981, allocations: 22.34 kB / 0.4998 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3983, allocations: 155.1 kB / 0.4999 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3984, allocations: 22.12 kB / 0.4999 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3984, allocations: 13.91 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.3987, allocations: 199 kB / 0.5002 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3987, allocations: 7.922 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3987, allocations: 8 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3988, allocations: 6.25 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.399, allocations: 123.9 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.3995, allocations: 388.2 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.3996, allocations: 45.91 kB / 0.5007 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3996, allocations: 25.56 kB / 0.5007 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3996, allocations: 0 / 0.5007 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3996, allocations: 34.5 kB / 0.5008 GB, free: 27.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3996, allocations: 0 / 0.5008 GB, free: 27.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002215/0.3999, allocations: 85.47 kB / 0.5008 GB, free: 27.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.3999, allocations: 58.72 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.4, allocations: 106.9 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.4, allocations: 29.64 kB / 0.501 GB, free: 27.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.4, allocations: 140.1 kB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.4, allocations: 11.86 kB / 0.5012 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.4001, allocations: 20.41 kB / 0.5012 GB, free: 27.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.4001, allocations: 318.1 kB / 0.5015 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.4001, allocations: 9.875 kB / 0.5015 GB, free: 26.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.4002, allocations: 13.81 kB / 0.5015 GB, free: 26.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.4002, allocations: 36.84 kB / 0.5016 GB, free: 26.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4002, allocations: 0 / 0.5016 GB, free: 26.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.578e-05/0.4003, allocations: 66.91 kB / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4003, allocations: 8.875 kB / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4004, allocations: 0 / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4004, allocations: 0 / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.4004, allocations: 9.562 kB / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4004, allocations: 0 / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.4005, allocations: 10.14 kB / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4005, allocations: 4 kB / 0.5017 GB, free: 26.65 MB / 446.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 6.977e-05/0.4006, allocations: 141.2 kB / 0.5018 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.4006, allocations: 11.05 kB / 0.5018 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.4006, allocations: 4.125 kB / 0.5018 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4006, allocations: 3.156 kB / 0.5018 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4006, allocations: 0 / 0.5018 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4006, allocations: 0 / 0.5018 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.4009, allocations: 299.7 kB / 0.5021 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4009, allocations: 0 / 0.5021 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.4009, allocations: 13.98 kB / 0.5021 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4009, allocations: 4 kB / 0.5021 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.4009, allocations: 3.219 kB / 0.5021 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4009, allocations: 0 / 0.5021 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4009, allocations: 0 / 0.5021 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.401, allocations: 171.5 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.4011, allocations: 0 / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.4011, allocations: 3.219 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.234e-05/0.4011, allocations: 0 / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.4011, allocations: 6.547 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.4011, allocations: 0 / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.787e-05/0.4012, allocations: 93.42 kB / 0.5024 GB, free: 26 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4012, allocations: 0 / 0.5024 GB, free: 26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.4014, allocations: 26.94 kB / 0.5024 GB, free: 25.99 MB / 446.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 6.682e-05/0.4015, allocations: 92.5 kB / 0.5025 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.4016, allocations: 30.09 kB / 0.5025 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4016, allocations: 3.938 kB / 0.5025 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.4016, allocations: 20.3 kB / 0.5025 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4019, allocations: 18.36 kB / 0.5026 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.4024, allocations: 265.5 kB / 0.5028 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.024e-05/0.4024, allocations: 117.1 kB / 0.5029 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.4025, allocations: 6.812 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.4025, allocations: 11.78 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4025, allocations: 0 / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of Templates: time 0.002966/0.4055, allocations: 0.655 MB / 0.5036 GB, free: 25.48 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_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.032589862006716]