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.001713/0.001713, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001477/0.001477, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.538/1.538, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.2133/0.2133, allocations: 34.27 MB / 295.5 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 179] 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.002078/0.002078, allocations: 67.89 kB / 443.1 MB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 66 MB / 0.4972 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002905/0.3589, allocations: 1.552 MB / 0.4987 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.3592, allocations: 62.56 kB / 0.4988 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.3592, allocations: 0 / 0.4988 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.3594, allocations: 22.2 kB / 0.4988 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.3594, allocations: 7.922 kB / 0.4988 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.3596, allocations: 25.55 kB / 0.4988 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3597, allocations: 69.52 kB / 0.4989 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.3599, allocations: 85.44 kB / 0.499 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.36, allocations: 41.62 kB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.3601, allocations: 39.11 kB / 0.4991 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.3601, allocations: 9.5 kB / 0.4991 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.3601, allocations: 9.625 kB / 0.4991 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.3602, allocations: 67.22 kB / 0.4992 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.3602, allocations: 54.53 kB / 0.4992 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.3604, allocations: 159.7 kB / 0.4994 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3604, allocations: 0 / 0.4994 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3604, allocations: 0 / 0.4994 GB, free: 28.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3604, allocations: 0 / 0.4994 GB, free: 28.51 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.0004732/0.3609, allocations: 366 kB / 0.4997 GB, free: 28.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3609, allocations: 9.312 kB / 0.4997 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.361, allocations: 18.22 kB / 0.4997 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3612, allocations: 163.3 kB / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.3612, allocations: 15.06 kB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3612, allocations: 21.09 kB / 0.4999 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3615, allocations: 191.7 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3615, allocations: 3.938 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3615, allocations: 7.094 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3615, allocations: 3.281 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3618, allocations: 128.1 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3622, allocations: 389.4 kB / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.202e-05/0.3623, allocations: 35.39 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.3624, allocations: 28.91 kB / 0.5007 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3624, allocations: 3.406 kB / 0.5007 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3624, allocations: 42.44 kB / 0.5007 GB, free: 27.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3624, allocations: 0 / 0.5007 GB, free: 27.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002276/0.3626, allocations: 77.91 kB / 0.5008 GB, free: 27.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.3627, allocations: 51.41 kB / 0.5008 GB, free: 27.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.3627, allocations: 111.4 kB / 0.5009 GB, free: 27.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.3627, allocations: 32.77 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.3628, allocations: 139.1 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3628, allocations: 19.84 kB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.3628, allocations: 20.11 kB / 0.5011 GB, free: 27.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.3629, allocations: 314.2 kB / 0.5014 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.3629, allocations: 14.06 kB / 0.5015 GB, free: 26.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.3629, allocations: 9.984 kB / 0.5015 GB, free: 26.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.363, allocations: 36.09 kB / 0.5015 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.363, allocations: 7.219 kB / 0.5015 GB, free: 26.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.3631, allocations: 63.52 kB / 0.5016 GB, free: 26.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3631, allocations: 6.219 kB / 0.5016 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3632, allocations: 0 / 0.5016 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3632, allocations: 0 / 0.5016 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.3632, allocations: 9.469 kB / 0.5016 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3632, allocations: 4.062 kB / 0.5016 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.3633, allocations: 6.75 kB / 0.5016 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3633, allocations: 0 / 0.5016 GB, free: 26.71 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 7.877e-05/0.3634, allocations: 147.8 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.3634, allocations: 7.891 kB / 0.5017 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.3634, allocations: 15.45 kB / 0.5018 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3634, allocations: 0 / 0.5018 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3634, allocations: 0 / 0.5018 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3634, allocations: 0 / 0.5018 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.3637, allocations: 287.1 kB / 0.502 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3637, allocations: 0 / 0.502 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.3638, allocations: 21.88 kB / 0.5021 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3638, allocations: 3.125 kB / 0.5021 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3638, allocations: 8 kB / 0.5021 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3638, allocations: 0 / 0.5021 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3638, allocations: 0 / 0.5021 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3639, allocations: 163.8 kB / 0.5022 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.3639, allocations: 0 / 0.5022 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3639, allocations: 3.281 kB / 0.5022 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.364, allocations: 7.328 kB / 0.5022 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.364, allocations: 3.156 kB / 0.5022 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.364, allocations: 0 / 0.5022 GB, free: 26.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.364, allocations: 93.2 kB / 0.5023 GB, free: 26.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.364, allocations: 0 / 0.5023 GB, free: 26.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3643, allocations: 31.66 kB / 0.5024 GB, free: 26.04 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.36e-05/0.3643, allocations: 92.88 kB / 0.5024 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3645, allocations: 29.39 kB / 0.5025 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3645, allocations: 4 kB / 0.5025 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.3645, allocations: 12.06 kB / 0.5025 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3648, allocations: 21.61 kB / 0.5025 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.3653, allocations: 269 kB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.3654, allocations: 114.3 kB / 0.5029 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.3654, allocations: 6.969 kB / 0.5029 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3655, allocations: 11.69 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3655, allocations: 0 / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of Templates: time 0.003082/0.3685, allocations: 0.6522 MB / 0.5035 GB, free: 25.55 MB / 446.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 -s ida -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: 5.212879152037203]