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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 113.2 kB / 17.09 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.001331, allocations: 198.2 kB / 18.02 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2042/0.2042, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 71.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09623, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002527/0.09879, allocations: 1.556 MB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.09894, allocations: 43.84 kB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.099, allocations: 3.938 kB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.09915, allocations: 19.84 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.354e-05/0.09918, allocations: 3.938 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.693e-05/0.09927, allocations: 23.98 kB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.09937, allocations: 67.81 kB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.09962, allocations: 139.3 kB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.09968, allocations: 31.92 kB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.09974, allocations: 43.78 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.09977, allocations: 8 kB / 0.4904 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.0998, allocations: 8 kB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.09988, allocations: 63.88 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.09995, allocations: 63.61 kB / 0.4906 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1001, allocations: 151.4 kB / 0.4907 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1001, allocations: 4 kB / 0.4907 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1001, allocations: 0 / 0.4907 GB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1001, allocations: 0 / 0.4907 GB, free: 9.578 MB / 382.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.0004246/0.1006, allocations: 442.9 kB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1006, allocations: 15.88 kB / 0.4911 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1007, allocations: 20.66 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1009, allocations: 216.1 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1009, allocations: 16.75 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1009, allocations: 16.38 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1012, allocations: 197.1 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1013, allocations: 3.938 kB / 0.4916 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1013, allocations: 4 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.1013, allocations: 4 kB / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.1015, allocations: 127 kB / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.1021, allocations: 0.4919 MB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.1022, allocations: 42.55 kB / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.1022, allocations: 36.91 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1023, allocations: 0 / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1023, allocations: 34.5 kB / 0.4923 GB, free: 7.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.765e-06/0.1023, allocations: 4 kB / 0.4923 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002243/0.1025, allocations: 81.52 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1026, allocations: 55.41 kB / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.1026, allocations: 105.8 kB / 0.4925 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1027, allocations: 29.64 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.1027, allocations: 139.9 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1028, allocations: 7.812 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1028, allocations: 17.72 kB / 0.4927 GB, free: 7.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.1029, allocations: 322.8 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.103, allocations: 8 kB / 0.493 GB, free: 6.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.103, allocations: 15.98 kB / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.899e-05/0.1031, allocations: 32.78 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1031, allocations: 0 / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001092/0.1032, allocations: 65.91 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1032, allocations: 8 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1032, allocations: 4 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1032, allocations: 64 / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.1033, allocations: 15.98 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1033, allocations: 0 / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.1034, allocations: 8 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1034, allocations: 0 / 0.4932 GB, free: 6.812 MB / 382.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 9.076e-05/0.1035, allocations: 141.7 kB / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1035, allocations: 7.938 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.1035, allocations: 3.969 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1035, allocations: 4 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1035, allocations: 0 / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1036, allocations: 88.95 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1036, allocations: 7.984 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.1037, allocations: 0 / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1037, allocations: 4 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001402/0.1038, allocations: 140.9 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001841/0.104, allocations: 242.8 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.659e-05/0.1041, allocations: 11.98 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.1041, allocations: 83.28 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1041, allocations: 4 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1045, allocations: 86.39 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006075/0.1051, allocations: 0.7108 MB / 0.4947 GB, free: 5.184 MB / 382.1 MB Notification: Performance of Templates: time 0.002814/0.1079, allocations: 0.7794 MB / 0.4954 GB, free: 4.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile (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) 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) Reference file matches