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.001123/0.001123, allocations: 113.4 kB / 16.41 MB, free: 6.48 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.001223/0.001224, allocations: 187.5 kB / 17.34 MB, free: 5.766 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2076/0.2076, allocations: 43.53 MB / 314.1 MB, free: 456 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.001351/0.001351, allocations: 63.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1221, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002669/0.1248, allocations: 1.557 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001213/0.125, allocations: 47.83 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.125, allocations: 3.938 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1252, allocations: 15.86 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.318e-05/0.1252, allocations: 7.938 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.984e-05/0.1253, allocations: 23.97 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1254, allocations: 67.81 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.1257, allocations: 135.3 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.1257, allocations: 39.91 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.1258, allocations: 39.78 kB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1258, allocations: 8 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1258, allocations: 8 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.1259, allocations: 59.89 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.126, allocations: 67.59 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1262, allocations: 159.4 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1262, allocations: 0 / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1262, allocations: 0 / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1262, allocations: 0 / 0.49 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.0004738/0.1267, allocations: 439.5 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1267, allocations: 11.89 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1268, allocations: 20.66 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.127, allocations: 216.1 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.127, allocations: 16.75 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.127, allocations: 20.38 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1274, allocations: 189.1 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1274, allocations: 3.938 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1274, allocations: 8 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1274, allocations: 4 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.1276, allocations: 131 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.1282, allocations: 499.6 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.1283, allocations: 38.56 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.1284, allocations: 32.91 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1284, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1284, allocations: 42.5 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.1284, allocations: 0 / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002167/0.1287, allocations: 73.58 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1287, allocations: 59.34 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.1288, allocations: 109.8 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1288, allocations: 25.7 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1289, allocations: 135.9 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1289, allocations: 11.8 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.129, allocations: 21.72 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1291, allocations: 318.8 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.1291, allocations: 7.984 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.1292, allocations: 15.98 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.942e-05/0.1293, allocations: 41.16 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1293, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.1294, allocations: 65.53 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1294, allocations: 8 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1294, allocations: 0 / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1294, allocations: 0 / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.1295, allocations: 11.98 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1295, allocations: 0 / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.1295, allocations: 8 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1295, allocations: 320 / 0.4925 GB, free: 6.824 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.742e-05/0.1297, allocations: 141.7 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1297, allocations: 7.922 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.1297, allocations: 7.969 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1297, allocations: 4 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1297, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1297, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.1301, allocations: 370.3 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1301, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.1301, allocations: 15.92 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1301, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1301, allocations: 3.984 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1302, allocations: 8 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1302, allocations: 0 / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.1303, allocations: 155.7 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.1303, allocations: 85.02 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1304, allocations: 4 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/0.1304, allocations: 11.94 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.1305, allocations: 7.922 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1305, allocations: 4 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.1305, allocations: 91.27 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1305, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1307, allocations: 19.84 kB / 0.4934 GB, free: 5.801 MB / 382.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.973e-05/0.1308, allocations: 95.19 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.131, allocations: 39.91 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.131, allocations: 0 / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.131, allocations: 16 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1313, allocations: 15.98 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.1318, allocations: 267.2 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1321, allocations: 0.7351 MB / 0.4945 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.1322, allocations: 4 kB / 0.4945 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.1322, allocations: 7.438 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1322, allocations: 4 kB / 0.4946 GB, free: 4.562 MB / 382.1 MB Notification: Performance of Templates: time 0.002794/0.135, allocations: 0.6767 MB / 0.4952 GB, free: 3.887 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches