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.001217/0.001217, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 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.001358/0.001358, allocations: 216.7 kB / 23.76 MB, free: 4.723 MB / 14.72 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 1.337/1.337, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.1976/0.1976, allocations: 44.24 MB / 331 MB, free: 9.535 MB / 270.1 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.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_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.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_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 74.5 kB / 468.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1046, allocations: 61.04 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002664/0.1073, allocations: 1.572 MB / 0.5189 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.1074, allocations: 55.78 kB / 0.519 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.1075, allocations: 0 / 0.519 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1076, allocations: 23.78 kB / 0.519 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.1076, allocations: 3.938 kB / 0.519 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.626e-05/0.1077, allocations: 23.97 kB / 0.519 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1078, allocations: 63.83 kB / 0.5191 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.108, allocations: 99.53 kB / 0.5192 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.1081, allocations: 31.92 kB / 0.5192 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.1081, allocations: 43.83 kB / 0.5192 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1082, allocations: 8 kB / 0.5192 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.1082, allocations: 8 kB / 0.5192 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.988e-05/0.1083, allocations: 67.83 kB / 0.5193 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.1083, allocations: 63.61 kB / 0.5194 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1085, allocations: 163.2 kB / 0.5195 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1085, allocations: 0 / 0.5195 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1085, allocations: 0 / 0.5195 GB, free: 4.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1085, allocations: 0 / 0.5195 GB, free: 4.613 MB / 398.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.0004666/0.109, allocations: 362.1 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.109, allocations: 8.031 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.1091, allocations: 16.84 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1093, allocations: 162.3 kB / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1093, allocations: 16.75 kB / 0.5201 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1093, allocations: 16.38 kB / 0.5201 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.1096, allocations: 196.8 kB / 0.5203 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1097, allocations: 7.922 kB / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1097, allocations: 4 kB / 0.5203 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1097, allocations: 8 kB / 0.5203 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1099, allocations: 119.3 kB / 0.5204 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.1105, allocations: 464.3 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.1106, allocations: 38.56 kB / 0.5209 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.1106, allocations: 36.84 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.1107, allocations: 3.984 kB / 0.5209 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1107, allocations: 34.56 kB / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1107, allocations: 0 / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000227/0.1109, allocations: 73.61 kB / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1109, allocations: 55.41 kB / 0.5211 GB, free: 2.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.111, allocations: 105.8 kB / 0.5212 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1111, allocations: 29.7 kB / 0.5212 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1111, allocations: 140.1 kB / 0.5213 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1112, allocations: 15.86 kB / 0.5214 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1112, allocations: 17.72 kB / 0.5214 GB, free: 2.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1113, allocations: 314.8 kB / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.1114, allocations: 12 kB / 0.5217 GB, free: 2.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.1114, allocations: 12.36 kB / 0.5217 GB, free: 2.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.1115, allocations: 36.84 kB / 0.5217 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1115, allocations: 0 / 0.5217 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/0.1116, allocations: 69.56 kB / 0.5218 GB, free: 2.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1116, allocations: 4 kB / 0.5218 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1116, allocations: 4 kB / 0.5218 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1116, allocations: 0 / 0.5218 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.1117, allocations: 11.98 kB / 0.5218 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1117, allocations: 0 / 0.5218 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.1117, allocations: 3.953 kB / 0.5218 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1117, allocations: 4 kB / 0.5218 GB, free: 2.078 MB / 398.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 0.0001071/0.1118, allocations: 137.8 kB / 0.522 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1119, allocations: 11.88 kB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.1119, allocations: 8.062 kB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1119, allocations: 0 / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1119, allocations: 0 / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1119, allocations: 3.984 kB / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.1123, allocations: 341.5 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1123, allocations: 0 / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.1123, allocations: 8 kB / 0.5223 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1123, allocations: 4 kB / 0.5223 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1123, allocations: 4 kB / 0.5223 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1123, allocations: 320 / 0.5223 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1123, allocations: 3.938 kB / 0.5223 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1125, allocations: 171.5 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1125, allocations: 11.89 kB / 0.5225 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1125, allocations: 0 / 0.5225 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.1126, allocations: 4 kB / 0.5225 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1126, allocations: 11.98 kB / 0.5225 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1126, allocations: 0 / 0.5225 GB, free: 1.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.1126, allocations: 87.25 kB / 0.5226 GB, free: 1.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1126, allocations: 4 kB / 0.5226 GB, free: 1.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000213/0.1128, allocations: 23.89 kB / 0.5226 GB, free: 1.18 MB / 398.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 8.428e-05/0.1129, allocations: 95.23 kB / 0.5227 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1131, allocations: 31.86 kB / 0.5227 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1131, allocations: 8 kB / 0.5227 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.1131, allocations: 15.98 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1134, allocations: 12 kB / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1138, allocations: 301 kB / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1142, allocations: 0.7312 MB / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.1142, allocations: 11.44 kB / 0.5238 GB, free: 15.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1142, allocations: 4 kB / 0.5238 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Templates: time 0.002576/0.1168, allocations: 1.242 MB / 0.525 GB, free: 14.67 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.751271610846743]