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.000687/0.000687, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009642/0.001651, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006654/0.0006654, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008715/0.001537, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9804/0.9804, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09794/1.078, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2696/0.2696, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.2966, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.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.894e-06/1.894e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.742e-05, allocations: 2.312 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002443/0.00246, allocations: 1.63 MB / 295.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.002623, allocations: 63.7 kB / 295.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.002683, allocations: 4 kB / 295.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.432e-05/0.002767, allocations: 23.84 kB / 295.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.002794, allocations: 11.86 kB / 295.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.00292, allocations: 27.97 kB / 295.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.003024, allocations: 63.83 kB / 295.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.003223, allocations: 88.25 kB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.003307, allocations: 55.88 kB / 296.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.003386, allocations: 35.89 kB / 296.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.003416, allocations: 8 kB / 296.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.003435, allocations: 8 kB / 296.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.003509, allocations: 59.83 kB / 296.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.003556, allocations: 31.94 kB / 296.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.003711, allocations: 107.5 kB / 296.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.003725, allocations: 0 / 296.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003726, allocations: 3.938 kB / 296.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.003737, allocations: 0 / 296.3 MB, free: 2.855 MB / 282.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.000476/0.004213, allocations: 369.5 kB / 296.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004252, allocations: 8.922 kB / 296.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.004312, allocations: 28.92 kB / 296.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.004491, allocations: 149.5 kB / 296.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.004503, allocations: 8.75 kB / 296.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.004524, allocations: 24.38 kB / 296.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004677, allocations: 129.9 kB / 297 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004688, allocations: 192 / 297 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.004703, allocations: 8.375 kB / 297 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.004711, allocations: 12.12 kB / 297 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.00475, allocations: 39.05 kB / 297.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.005052, allocations: 325.5 kB / 297.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.005099, allocations: 46.48 kB / 297.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.005116, allocations: 20.8 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.005126, allocations: 0 / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.005143, allocations: 30.56 kB / 297.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.31e-07/0.005143, allocations: 0 / 297.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001067/0.00525, allocations: 49.81 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.005277, allocations: 59.33 kB / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/0.005331, allocations: 110.7 kB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.00534, allocations: 25.7 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.005388, allocations: 136.2 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.005413, allocations: 23.83 kB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.005436, allocations: 17.72 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.005513, allocations: 322.8 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-06/0.00552, allocations: 4 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.005528, allocations: 4 kB / 298.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.005551, allocations: 20.84 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.005553, allocations: 0 / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.188e-05/0.005594, allocations: 49.67 kB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.005604, allocations: 4 kB / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005608, allocations: 0 / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.005619, allocations: 0 / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.005683, allocations: 15.94 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.005688, allocations: 3.938 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.005704, allocations: 11.94 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.00571, allocations: 0 / 298.3 MB, free: 0.6875 MB / 282.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 5.381e-05/0.005764, allocations: 116.7 kB / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.005774, allocations: 4.438 kB / 298.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.005794, allocations: 8.125 kB / 298.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005795, allocations: 4 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.005798, allocations: 3.938 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.0058, allocations: 0 / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.005946, allocations: 226.7 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005947, allocations: 0 / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.005969, allocations: 15.98 kB / 298.7 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-06/0.005973, allocations: 3.938 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.005973, allocations: 0 / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005979, allocations: 7.938 kB / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.00598, allocations: 320 / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005981, allocations: 0 / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.197e-05/0.006043, allocations: 139.5 kB / 298.8 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.006051, allocations: 4 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.006075, allocations: 0 / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.006087, allocations: 11.92 kB / 298.9 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.006089, allocations: 4 kB / 298.9 MB, free: 100 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.517e-05/0.006104, allocations: 16.83 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006104, allocations: 0 / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.006218, allocations: 31.78 kB / 298.9 MB, free: 48 kB / 282.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.157e-05/0.00629, allocations: 76.41 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.737e-05/0.006347, allocations: 16.86 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.006353, allocations: 4 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.006369, allocations: 16.84 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.006568, allocations: 182.7 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.007119, allocations: 274.8 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.007181, allocations: 83.31 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.007207, allocations: 4 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.007275, allocations: 63.34 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007276, allocations: 0 / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.00278/0.01006, allocations: 0.7608 MB / 300.4 MB, free: 14.5 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6941270185634494]