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.0009801/0.0009801, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0009693/0.0009693, allocations: 164.5 kB / 24.82 MB, free: 9.281 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.9593/0.9593, allocations: 177 MB / 205.1 MB, free: 5.477 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.2607/0.2607, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 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.312e-06/1.312e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.581e-05, allocations: 3.297 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001775/0.00179, allocations: 1.577 MB / 380.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.001986, allocations: 63.75 kB / 380.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.002036, allocations: 4 kB / 380.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.002145, allocations: 19.84 kB / 380.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.975e-05/0.002164, allocations: 7.938 kB / 380.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.002291, allocations: 19.97 kB / 380.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.002362, allocations: 75.81 kB / 381 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.002515, allocations: 75.62 kB / 381.1 MB, free: 0 / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.00257, allocations: 56 kB / 381.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.002619, allocations: 35.88 kB / 381.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.002639, allocations: 8 kB / 381.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.002652, allocations: 12 kB / 381.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.002706, allocations: 71.81 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.002739, allocations: 39.91 kB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.002849, allocations: 115.5 kB / 381.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.00285, allocations: 0 / 381.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.002851, allocations: 0 / 381.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.002854, allocations: 0 / 381.4 MB, free: 15.66 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.0003155/0.003169, allocations: 476.3 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.003201, allocations: 11.97 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.003237, allocations: 36.8 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.003346, allocations: 144.4 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.003358, allocations: 20.75 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.003373, allocations: 20.38 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.003509, allocations: 121.9 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003516, allocations: 192 / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.003527, allocations: 8.375 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.003535, allocations: 8.125 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.003574, allocations: 51.06 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.003886, allocations: 420.8 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.003928, allocations: 46.98 kB / 382.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.003947, allocations: 19.67 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.003959, allocations: 3.938 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.003977, allocations: 37.39 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.003978, allocations: 0 / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001021/0.00408, allocations: 53.77 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.004102, allocations: 55.34 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.004163, allocations: 169.9 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.004172, allocations: 29.7 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.004225, allocations: 182.9 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.004244, allocations: 23.81 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.004267, allocations: 23.38 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.00437, allocations: 0.4884 MB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.004379, allocations: 7.984 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.004385, allocations: 3.938 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.004408, allocations: 23.69 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.004409, allocations: 0 / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.96e-05/0.004459, allocations: 49.64 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.004468, allocations: 8 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.004471, allocations: 448 / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004481, allocations: 4 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.004527, allocations: 11.94 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.00453, allocations: 3.938 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.004542, allocations: 4 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.004547, allocations: 7.984 kB / 383.9 MB, free: 12.93 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 5.665e-05/0.004604, allocations: 152.6 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.004616, allocations: 7.953 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.004634, allocations: 8.125 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.004637, allocations: 4 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004639, allocations: 3.938 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.004641, allocations: 4 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.004807, allocations: 302 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004808, allocations: 0 / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.00483, allocations: 19.92 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004831, allocations: 0 / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-06/0.004834, allocations: 4 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.004835, allocations: 3.938 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004836, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.412e-05/0.00491, allocations: 195.9 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-06/0.004914, allocations: 4 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-06/0.004921, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.004946, allocations: 7.938 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.004958, allocations: 15.92 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.00496, allocations: 0 / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.078e-05/0.00499, allocations: 123.2 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00499, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.005127, allocations: 31.78 kB / 384.8 MB, free: 12 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 5.565e-05/0.005182, allocations: 87.25 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.459e-05/0.005237, allocations: 31.66 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005238, allocations: 0 / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.005251, allocations: 27.86 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.005409, allocations: 16.12 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.005688, allocations: 263.2 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.005728, allocations: 83.33 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.197e-05/0.00575, allocations: 7.984 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.005801, allocations: 82.19 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005802, allocations: 0 / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.001939/0.00774, allocations: 0.7225 MB / 386.1 MB, free: 10.64 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: 2.8497598520480096]