Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9376/0.9376, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 34.87 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.204e-05, allocations: 2.312 kB / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.00172/0.001732, allocations: 1.582 MB / 327.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.001931, allocations: 71.69 kB / 327.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.001979, allocations: 0 / 327.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.002098, allocations: 19.84 kB / 327.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.08e-05/0.002119, allocations: 7.875 kB / 327.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.002259, allocations: 31.97 kB / 327.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.002339, allocations: 71.8 kB / 327.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.002489, allocations: 84.89 kB / 327.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.002541, allocations: 51.89 kB / 327.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.002599, allocations: 31.94 kB / 327.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.002621, allocations: 8 kB / 327.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.002634, allocations: 8 kB / 327.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.002689, allocations: 71.81 kB / 327.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.002725, allocations: 43.84 kB / 328 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.002838, allocations: 119.5 kB / 328.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.00284, allocations: 0 / 328.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002841, allocations: 4 kB / 328.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.002844, allocations: 4 kB / 328.1 MB, free: 4.984 MB / 298.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.0002846/0.003128, allocations: 334.1 kB / 328.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.003158, allocations: 11.97 kB / 328.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.003192, allocations: 24.92 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.003311, allocations: 157.5 kB / 328.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.003324, allocations: 12.75 kB / 328.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.00334, allocations: 16.38 kB / 328.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.003477, allocations: 129.9 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003483, allocations: 192 / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.003496, allocations: 16.36 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003502, allocations: 8.125 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.003547, allocations: 39.09 kB / 328.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.003833, allocations: 329.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.365e-05/0.003877, allocations: 30.56 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.003895, allocations: 16.86 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.003905, allocations: 3.938 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.003924, allocations: 42.69 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.21e-07/0.003925, allocations: 0 / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 8.887e-05/0.004013, allocations: 45.69 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.004039, allocations: 55.34 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.004088, allocations: 110.7 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.004097, allocations: 29.7 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.00414, allocations: 144.2 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.004157, allocations: 11.84 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.00418, allocations: 17.72 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.004246, allocations: 322.8 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.004254, allocations: 8 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.00426, allocations: 3.938 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.004281, allocations: 20.84 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004283, allocations: 0 / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 3.982e-05/0.004323, allocations: 45.69 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/0.004331, allocations: 4 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.004335, allocations: 0 / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.004347, allocations: 4 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.004392, allocations: 7.938 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.004397, allocations: 11.88 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.004409, allocations: 3.953 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.004413, allocations: 4 kB / 330.1 MB, free: 2.852 MB / 298.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 4.716e-05/0.00446, allocations: 116.7 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.004477, allocations: 0 / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.004494, allocations: 12.12 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.004495, allocations: 0 / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.004498, allocations: 3.938 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.0045, allocations: 448 / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.004644, allocations: 227.5 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004644, allocations: 0 / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.004665, allocations: 8 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004666, allocations: 4 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.004669, allocations: 0 / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00467, allocations: 3.984 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.004672, allocations: 3.938 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.946e-05/0.004732, allocations: 139.5 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.004736, allocations: 0 / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.004742, allocations: 4 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.004767, allocations: 0 / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.004777, allocations: 11.86 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.00478, allocations: 4 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.246e-05/0.004792, allocations: 16.84 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004792, allocations: 4 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001202/0.004913, allocations: 31.78 kB / 330.7 MB, free: 2.219 MB / 298.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 5.672e-05/0.004969, allocations: 68.42 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.033e-05/0.00502, allocations: 24.84 kB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005022, allocations: 0 / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.005032, allocations: 16.8 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.005153, allocations: 16.91 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.005447, allocations: 263 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.005487, allocations: 79.31 kB / 331.1 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.005509, allocations: 4 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.005559, allocations: 67.36 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005559, allocations: 3.938 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of Templates: time 0.002053/0.007613, allocations: 0.7247 MB / 331.9 MB, free: 0.9141 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7306835991330445]