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.00118/0.00118, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.00179/0.00179, allocations: 156.5 kB / 24.56 MB, free: 8 kB / 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.956/0.956, allocations: 177 MB / 204.8 MB, free: 5.562 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.3169/0.3169, allocations: 34.87 MB / 296.3 MB, free: 480 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 2.245e-06/2.245e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/4.042e-05, allocations: 4.703 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.005843/0.005883, allocations: 1.579 MB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.006163, allocations: 59.75 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.006224, allocations: 3.938 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.006397, allocations: 19.86 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.006426, allocations: 3.984 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.006615, allocations: 27.91 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.006724, allocations: 67.81 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.006937, allocations: 89.73 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.007, allocations: 47.95 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.007061, allocations: 39.89 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.007091, allocations: 8 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.007109, allocations: 8 kB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.007185, allocations: 71.8 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.007255, allocations: 39.98 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.01045, allocations: 115.4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01045, allocations: 0 / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01045, allocations: 3.938 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01046, allocations: 4 kB / 380.9 MB, free: 15.87 MB / 362.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.0004988/0.01096, allocations: 464.4 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.011, allocations: 12.03 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.01107, allocations: 36.8 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.01126, allocations: 152.4 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01128, allocations: 16.75 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.0113, allocations: 16.38 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.01155, allocations: 141.8 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.01156, allocations: 192 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.01158, allocations: 12.38 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01159, allocations: 8.125 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.923e-05/0.01168, allocations: 55.03 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.0122, allocations: 460.3 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.323e-05/0.01227, allocations: 31.06 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.01231, allocations: 27.8 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.01232, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.01235, allocations: 37.39 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.01235, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001847/0.01253, allocations: 69.52 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.01257, allocations: 55.41 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.01266, allocations: 169.9 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.01267, allocations: 25.7 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.01274, allocations: 182.9 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.01276, allocations: 19.84 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.0128, allocations: 27.36 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01292, allocations: 492.1 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.01294, allocations: 4 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.01296, allocations: 11.98 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.013, allocations: 23.69 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.013, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.244e-05/0.01308, allocations: 57.58 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.0131, allocations: 8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.0131, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01312, allocations: 3.938 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.01622, allocations: 8 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01623, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.01625, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01626, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.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.993e-05/0.01635, allocations: 160.6 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.01638, allocations: 3.953 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.0164, allocations: 16.12 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01641, allocations: 3.938 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01641, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01642, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.01671, allocations: 349.8 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01671, allocations: 64 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.01675, allocations: 15.98 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01676, allocations: 3.938 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.01677, allocations: 0 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01677, allocations: 0 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01677, allocations: 3.984 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.01689, allocations: 211.8 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.0169, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01691, allocations: 7.938 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.01696, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.01697, allocations: 3.984 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.01698, allocations: 4 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.01703, allocations: 127.2 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01703, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.01728, allocations: 31.78 kB / 384.4 MB, free: 12.09 MB / 362.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.0001072/0.01738, allocations: 91.23 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.01749, allocations: 31.62 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.0175, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.836e-05/0.01752, allocations: 23.67 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.01779, allocations: 8 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.01843, allocations: 275.2 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.01849, allocations: 79.33 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.01853, allocations: 3.984 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.01856, allocations: 12.5 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.01856, allocations: 4 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Templates: time 0.006009/0.02457, allocations: 0.7108 MB / 385.7 MB, free: 10.81 MB / 362.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: 3.057613441720605]