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.001049/0.001049, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002561, allocations: 449.7 kB / 10.37 MB, free: 324 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.001055/0.001055, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004895/0.00595, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.052/1.052, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09062/1.143, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2748/0.2748, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04414/0.319, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.744e-06/1.744e-06, allocations: 0 / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.639e-05, allocations: 2.312 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003311/0.003338, allocations: 1.64 MB / 295.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.003661, allocations: 59.7 kB / 295.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.003745, allocations: 0 / 295.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.003858, allocations: 23.84 kB / 295.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.942e-05/0.003887, allocations: 3.938 kB / 295.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.004058, allocations: 31.97 kB / 295.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.0042, allocations: 67.77 kB / 295.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.004456, allocations: 84.25 kB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.004564, allocations: 59.88 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.004645, allocations: 31.95 kB / 295.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.00468, allocations: 8 kB / 295.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.004699, allocations: 8 kB / 295.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.004781, allocations: 55.83 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.004847, allocations: 39.88 kB / 296 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.005075, allocations: 107.5 kB / 296.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.211e-05/0.005097, allocations: 4 kB / 296.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.005099, allocations: 0 / 296.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.005123, allocations: 4 kB / 296.1 MB, free: 2.969 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.0006466/0.00577, allocations: 361.5 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.005815, allocations: 16.86 kB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.005891, allocations: 24.92 kB / 296.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.006119, allocations: 149.5 kB / 296.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.006143, allocations: 12.75 kB / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.00617, allocations: 20.38 kB / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.006417, allocations: 128.1 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006427, allocations: 4.188 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.006447, allocations: 12.38 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.006458, allocations: 8.125 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.006526, allocations: 31.73 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.007046, allocations: 337.1 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.00711, allocations: 34.56 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.007135, allocations: 12.86 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.007149, allocations: 7.938 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.007175, allocations: 34.56 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.007177, allocations: 0 / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001382/0.007315, allocations: 49.98 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.007425, allocations: 59.34 kB / 297.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.007495, allocations: 110.7 kB / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007508, allocations: 25.7 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.00757, allocations: 140.2 kB / 297.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.007594, allocations: 19.78 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.007631, allocations: 13.72 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.007719, allocations: 322.8 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.007736, allocations: 8.062 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.007746, allocations: 7.938 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.00778, allocations: 24.84 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007783, allocations: 0 / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.668e-05/0.00785, allocations: 41.69 kB / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.007869, allocations: 4 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.007874, allocations: 0 / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.007884, allocations: 0 / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.007962, allocations: 8 kB / 298.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.007969, allocations: 11.88 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.00799, allocations: 11.94 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.007996, allocations: 0 / 298.1 MB, free: 0.8047 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 7.103e-05/0.008068, allocations: 116.7 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.00809, allocations: 0 / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.008116, allocations: 12.12 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008118, allocations: 0 / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.008121, allocations: 3.938 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008124, allocations: 0 / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.008368, allocations: 230.7 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.008371, allocations: 0 / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.008421, allocations: 11.98 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-06/0.008431, allocations: 8.25 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008433, allocations: 0 / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.00844, allocations: 7.938 kB / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008442, allocations: 0 / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.008444, allocations: 320 / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.643e-05/0.008541, allocations: 135.5 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.008552, allocations: 4 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.0086, allocations: 0 / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.008617, allocations: 15.86 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.008621, allocations: 0 / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.00864, allocations: 16.83 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00864, allocations: 4 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.00883, allocations: 35.72 kB / 298.7 MB, free: 160 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 0.0001002/0.00893, allocations: 76.41 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.008996, allocations: 20.86 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.009002, allocations: 0 / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.009019, allocations: 20.78 kB / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.009216, allocations: 12 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.009838, allocations: 275 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.618e-05/0.009894, allocations: 79.23 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.511e-05/0.009929, allocations: 3.984 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.009994, allocations: 63.36 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.009995, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of Templates: time 0.002613/0.01261, allocations: 0.7612 MB / 300 MB, free: 14.81 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.827501186169684]