Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007383/0.0007383, allocations: 76.19 kB / 9.91 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002253, allocations: 447.8 kB / 10.35 MB, free: 348 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.001008/0.001008, allocations: 157.2 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002361, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9604/0.9604, allocations: 158.6 MB / 171 MB, free: 2.164 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1812/1.142, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1338/0.1338, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02167/0.1555, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.272e-05, allocations: 10.25 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002465/0.002488, allocations: 1.608 MB / 268.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.002603, allocations: 51.78 kB / 268.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.002652, allocations: 3.938 kB / 268.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.85e-05/0.00273, allocations: 23.84 kB / 268.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.002749, allocations: 7.922 kB / 268.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001/0.002849, allocations: 19.97 kB / 268.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.002945, allocations: 67.83 kB / 269 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006211/0.009156, allocations: 88.27 kB / 269.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.009253, allocations: 55.88 kB / 269.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.009318, allocations: 31.91 kB / 269.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.009343, allocations: 8 kB / 269.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.009356, allocations: 8 kB / 269.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.009424, allocations: 63.81 kB / 269.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.009474, allocations: 31.88 kB / 269.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.009632, allocations: 99.55 kB / 269.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.097e-05/0.009653, allocations: 0 / 269.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.009655, allocations: 7.938 kB / 269.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.009674, allocations: 4 kB / 269.4 MB, free: 4.344 MB / 266.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.0006343/0.01031, allocations: 364.4 kB / 269.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.01034, allocations: 12.03 kB / 269.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.01039, allocations: 24.92 kB / 269.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.01052, allocations: 149.5 kB / 269.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.01054, allocations: 12.75 kB / 269.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.01055, allocations: 20.38 kB / 269.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.01071, allocations: 127.7 kB / 270.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01072, allocations: 192 / 270.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.01073, allocations: 8.375 kB / 270.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.01074, allocations: 8.125 kB / 270.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.01078, allocations: 47.61 kB / 270.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.01114, allocations: 333.2 kB / 270.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.01119, allocations: 34.5 kB / 270.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.01122, allocations: 24.95 kB / 270.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.01122, allocations: 0 / 270.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.01125, allocations: 34.56 kB / 270.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.01125, allocations: 4 kB / 270.6 MB, free: 3.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001267/0.01138, allocations: 41.69 kB / 270.6 MB, free: 3.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.01142, allocations: 59.34 kB / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.01148, allocations: 118.7 kB / 270.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.01149, allocations: 25.7 kB / 270.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.01154, allocations: 132.2 kB / 270.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.01156, allocations: 23.77 kB / 270.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.01159, allocations: 17.72 kB / 271 MB, free: 2.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.01167, allocations: 318.8 kB / 271.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.01167, allocations: 0 / 271.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.609e-06/0.01168, allocations: 4 kB / 271.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.01171, allocations: 33.2 kB / 271.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.01172, allocations: 4 kB / 271.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.249e-05/0.01177, allocations: 45.69 kB / 271.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01179, allocations: 4 kB / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01179, allocations: 0 / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.0118, allocations: 0 / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.01187, allocations: 11.94 kB / 271.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01187, allocations: 7.938 kB / 271.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.01189, allocations: 7.938 kB / 271.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.01189, allocations: 0 / 271.4 MB, free: 2.172 MB / 266.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 7.378e-05/0.01197, allocations: 116.7 kB / 271.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.01198, allocations: 4 kB / 271.5 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.012, allocations: 8.125 kB / 271.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.012, allocations: 0 / 271.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01201, allocations: 3.938 kB / 271.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01201, allocations: 3.938 kB / 271.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.01218, allocations: 226.7 kB / 271.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01218, allocations: 0 / 271.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.0122, allocations: 8 kB / 271.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.01221, allocations: 3.984 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01221, allocations: 4 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.01222, allocations: 11.94 kB / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01222, allocations: 0 / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01222, allocations: 0 / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/0.01229, allocations: 139.7 kB / 271.9 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.01229, allocations: 4 kB / 271.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.01232, allocations: 0 / 271.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.01234, allocations: 15.92 kB / 271.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.01234, allocations: 0 / 271.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.159e-05/0.01236, allocations: 8.859 kB / 271.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01236, allocations: 0 / 271.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001199/0.01248, allocations: 31.78 kB / 272 MB, free: 1.543 MB / 266.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 7.439e-05/0.01255, allocations: 76.42 kB / 272 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.01261, allocations: 28.83 kB / 272.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01262, allocations: 0 / 272.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.01263, allocations: 16.8 kB / 272.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.01278, allocations: 15.98 kB / 272.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.0133, allocations: 269.5 kB / 272.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.01334, allocations: 79.31 kB / 272.4 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.761e-05/0.01337, allocations: 11.98 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.01342, allocations: 59.38 kB / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01342, allocations: 0 / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of Templates: time 0.00304/0.01646, allocations: 0.802 MB / 273.3 MB, free: 132 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.7999559976160526]