Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002277/0.002277, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3424/0.3424, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004737, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002293/0.1325, allocations: 1.233 MB / 491.5 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.1328, allocations: 55.77 kB / 491.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.1328, allocations: 0 / 491.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.133, allocations: 15.92 kB / 491.5 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.1331, allocations: 7.984 kB / 491.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.684e-05/0.1332, allocations: 15.98 kB / 491.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1333, allocations: 47.88 kB / 491.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1336, allocations: 97.91 kB / 491.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.1337, allocations: 19.92 kB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.1337, allocations: 15.86 kB / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1338, allocations: 0 / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.1338, allocations: 0 / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1339, allocations: 59.83 kB / 491.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.134, allocations: 45.64 kB / 491.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1341, allocations: 111.7 kB / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1342, allocations: 0 / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1342, allocations: 0 / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1342, allocations: 0 / 491.9 MB, free: 7.609 MB / 330.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.0006507/0.1348, allocations: 403.7 kB / 492.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1349, allocations: 8.031 kB / 492.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.135, allocations: 19.72 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1353, allocations: 218.8 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1353, allocations: 20.38 kB / 492.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.1354, allocations: 16 kB / 492.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.1359, allocations: 196.3 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1359, allocations: 3.938 kB / 492.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.136, allocations: 4 kB / 492.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.136, allocations: 4 kB / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.1364, allocations: 131.7 kB / 492.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.1374, allocations: 0.4919 MB / 493.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1375, allocations: 42.56 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1376, allocations: 8 kB / 493.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1376, allocations: 30.56 kB / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 3.366e-06/0.1376, allocations: 0 / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003429/0.138, allocations: 81.83 kB / 493.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.138, allocations: 55.41 kB / 493.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1381, allocations: 109.8 kB / 493.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1382, allocations: 33.64 kB / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1383, allocations: 198.4 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1383, allocations: 27.64 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1384, allocations: 0 / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1385, allocations: 314.8 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.1386, allocations: 15.98 kB / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.1387, allocations: 16.06 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.1388, allocations: 19.98 kB / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1388, allocations: 0 / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.139, allocations: 65.62 kB / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.139, allocations: 7.438 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1391, allocations: 0 / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1391, allocations: 0 / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1392, allocations: 15.98 kB / 494.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1392, allocations: 4 kB / 494.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.1393, allocations: 0 / 494.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1393, allocations: 4 kB / 494.5 MB, free: 4.875 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.1395, allocations: 133.8 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1395, allocations: 11.89 kB / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1396, allocations: 7.969 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1396, allocations: 0 / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1396, allocations: 4 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1396, allocations: 0 / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.1402, allocations: 370.4 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1402, allocations: 4 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.1403, allocations: 11.98 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1403, allocations: 0 / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1403, allocations: 4 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1403, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1403, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1406, allocations: 171.7 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1407, allocations: 85.02 kB / 495.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1407, allocations: 4 kB / 495.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.1408, allocations: 4 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1409, allocations: 7.984 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1409, allocations: 0 / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.1409, allocations: 87.28 kB / 495.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.141, allocations: 0 / 495.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.1413, allocations: 27.78 kB / 495.4 MB, free: 3.863 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.1414, allocations: 91.25 kB / 495.5 MB, free: 3.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1416, allocations: 39.97 kB / 495.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1417, allocations: 0 / 495.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.1418, allocations: 23.88 kB / 495.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1421, allocations: 20.48 kB / 495.5 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.143, allocations: 352.2 kB / 495.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1435, allocations: 0.7316 MB / 496.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1435, allocations: 11.44 kB / 496.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of SimCode: time 3.927e-06/0.1436, allocations: 4 kB / 496.6 MB, free: 2.531 MB / 330.7 MB Notification: Performance of Templates: time 0.003908/0.1475, allocations: 1.215 MB / 497.8 MB, free: 1.32 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches