Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 172.3 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007256/0.0007257, allocations: 94.91 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3069/0.3069, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 8 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08994, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001502/0.09147, allocations: 1.238 MB / 492.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.09163, allocations: 51.83 kB / 492.4 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.09169, allocations: 3.938 kB / 492.4 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.09181, allocations: 15.92 kB / 492.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.141e-05/0.09184, allocations: 3.938 kB / 492.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.084e-05/0.09192, allocations: 15.98 kB / 492.5 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.09201, allocations: 67.81 kB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.09224, allocations: 123.4 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.09229, allocations: 19.92 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.09233, allocations: 15.81 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.09235, allocations: 0 / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.09237, allocations: 4 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.09243, allocations: 53.06 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.0925, allocations: 77.31 kB / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.09264, allocations: 135.5 kB / 493 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09265, allocations: 0 / 493 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09266, allocations: 0 / 493 MB, free: 8.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.09267, allocations: 0 / 493 MB, free: 8.199 MB / 378.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.0003885/0.09306, allocations: 407.8 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.0931, allocations: 12.03 kB / 493.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.09315, allocations: 24.69 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.09333, allocations: 220 kB / 493.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.09336, allocations: 20.75 kB / 493.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.09339, allocations: 12.38 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.09374, allocations: 197.1 kB / 493.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.09376, allocations: 7.938 kB / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.09378, allocations: 4 kB / 493.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.09379, allocations: 4 kB / 493.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.09401, allocations: 135 kB / 494 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.09456, allocations: 0.4919 MB / 494.5 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.09466, allocations: 38.56 kB / 494.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.09473, allocations: 40.91 kB / 494.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.09475, allocations: 0 / 494.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.09477, allocations: 34.56 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.09478, allocations: 0 / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002141/0.095, allocations: 81.52 kB / 494.7 MB, free: 6.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.09504, allocations: 55.41 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.09511, allocations: 109.8 kB / 494.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.09513, allocations: 25.7 kB / 494.9 MB, free: 6.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.0952, allocations: 136 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.09522, allocations: 15.75 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.09523, allocations: 4 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.09532, allocations: 314.8 kB / 495.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.09537, allocations: 12 kB / 495.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.09541, allocations: 15.98 kB / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.0955, allocations: 44.78 kB / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.09551, allocations: 0 / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/0.09562, allocations: 65.62 kB / 495.5 MB, free: 5.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.09565, allocations: 7.938 kB / 495.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.09565, allocations: 0 / 495.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.09567, allocations: 0 / 495.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.09574, allocations: 15.98 kB / 495.5 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.09576, allocations: 4 kB / 495.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.09579, allocations: 4 kB / 495.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.0958, allocations: 448 / 495.5 MB, free: 5.461 MB / 378.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 8.609e-05/0.09589, allocations: 133.8 kB / 495.6 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.09592, allocations: 11.84 kB / 495.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.09595, allocations: 11.91 kB / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.09595, allocations: 0 / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.09596, allocations: 0 / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.09597, allocations: 8 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.09631, allocations: 370.5 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09632, allocations: 0 / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.09637, allocations: 15.88 kB / 496 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.09638, allocations: 0 / 496 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.09639, allocations: 0 / 496 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.0964, allocations: 320 / 496 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.0964, allocations: 8 kB / 496 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.09656, allocations: 167.4 kB / 496.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.0966, allocations: 85.05 kB / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.09662, allocations: 0 / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.266e-05/0.09667, allocations: 3.984 kB / 496.3 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.09671, allocations: 11.98 kB / 496.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.09671, allocations: 0 / 496.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.09676, allocations: 95.25 kB / 496.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09677, allocations: 0 / 496.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.09698, allocations: 23.75 kB / 496.4 MB, free: 4.438 MB / 378.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.917e-05/0.09706, allocations: 111.1 kB / 496.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.09719, allocations: 39.92 kB / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0972, allocations: 0 / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.09725, allocations: 19.98 kB / 496.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.0975, allocations: 4 kB / 496.6 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.09798, allocations: 346.5 kB / 496.9 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.09823, allocations: 0.7277 MB / 497.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.09827, allocations: 7.859 kB / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.09829, allocations: 15.44 kB / 497.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.0983, allocations: 0 / 497.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of Templates: time 0.002281/0.1006, allocations: 0.6148 MB / 498.3 MB, free: 2.5 MB / 378.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches