Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Interaction1.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.001316/0.001316, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001436/0.001436, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.88 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2695, allocations: 53.41 MB / 432.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004504/0.2741, allocations: 2.604 MB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.2791, allocations: 1.968 MB / 437 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.2794, allocations: 15.88 kB / 437 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.2811, allocations: 0.5492 MB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.2825, allocations: 0.5016 MB / 438.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.2845, allocations: 0.5531 MB / 438.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.286, allocations: 0.8221 MB / 439.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.2862, allocations: 62.19 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007492/0.287, allocations: 354.6 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.2878, allocations: 398.5 kB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.288, allocations: 44 kB / 440.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.2887, allocations: 243.7 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.289, allocations: 215.3 kB / 440.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.2895, allocations: 314 kB / 441 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.2913, allocations: 0.8922 MB / 441.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2913, allocations: 4 kB / 441.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2913, allocations: 0 / 441.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.2913, allocations: 3.984 kB / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002917/0.2942, allocations: 1.181 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2943, allocations: 8.031 kB / 443.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.2945, allocations: 84.42 kB / 443.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.2959, allocations: 0.5404 MB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.2959, allocations: 16.38 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.296, allocations: 24.38 kB / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.297, allocations: 363 kB / 444.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.297, allocations: 0 / 444.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.2971, allocations: 8 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.2971, allocations: 8 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.2978, allocations: 179.8 kB / 444.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.3004, allocations: 1.316 MB / 445.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3015, allocations: 330.3 kB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.302, allocations: 155.4 kB / 446.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.3021, allocations: 15.88 kB / 446.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009214/0.303, allocations: 467.2 kB / 446.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.917e-06/0.303, allocations: 0 / 446.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002256/0.3052, allocations: 0.7436 MB / 447.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003932/0.3056, allocations: 460.9 kB / 447.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3071, allocations: 0.9733 MB / 448.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.3072, allocations: 45.7 kB / 448.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.3075, allocations: 312.9 kB / 449.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3076, allocations: 115.1 kB / 449.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3077, allocations: 102.1 kB / 449.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3079, allocations: 326 kB / 449.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.3082, allocations: 148.9 kB / 449.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3087, allocations: 354.5 kB / 450.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.3096, allocations: 0.5855 MB / 450.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3096, allocations: 4 kB / 450.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001233/0.3108, allocations: 0.6659 MB / 451.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.3109, allocations: 105 kB / 451.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3109, allocations: 4 kB / 451.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3109, allocations: 7.938 kB / 451.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3112, allocations: 67.84 kB / 451.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3112, allocations: 4 kB / 451.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.3115, allocations: 51.72 kB / 451.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.3115, allocations: 27.98 kB / 451.7 MB, free: 2.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition9,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition2,stop.on,$PRE.stop.on,start.reset[1],stop.reset[1],start.on,$PRE.start.on,stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[1],$whenCondition5,$whenCondition4,start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[1],$whenCondition7,$whenCondition6,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0004633/0.312, allocations: 399.1 kB / 452 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3121, allocations: 87.77 kB / 452.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009951/0.3131, allocations: 0.5113 MB / 452.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3131, allocations: 4 kB / 452.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3131, allocations: 3.938 kB / 452.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3131, allocations: 7.984 kB / 452.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.3145, allocations: 0.9526 MB / 453.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3145, allocations: 0 / 453.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3146, allocations: 23.92 kB / 453.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3146, allocations: 4 kB / 453.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.3146, allocations: 15.98 kB / 453.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3146, allocations: 7.984 kB / 453.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3146, allocations: 0 / 453.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.3158, allocations: 0.7948 MB / 454.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3159, allocations: 79.45 kB / 454.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3161, allocations: 23.98 kB / 454.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3163, allocations: 27.98 kB / 454.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3164, allocations: 35.94 kB / 454.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.3164, allocations: 24.06 kB / 454.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008881/0.3173, allocations: 0.702 MB / 455.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3173, allocations: 4 kB / 455.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005922/0.3179, allocations: 155.8 kB / 455.5 MB, free: 14.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001729/0.3197, allocations: 488.3 kB / 456 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009995/0.3207, allocations: 0.5594 MB / 456.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3207, allocations: 0 / 456.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.3212, allocations: 362.5 kB / 456.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.3221, allocations: 187.7 kB / 457.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3244, allocations: 1.287 MB / 458.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007123/0.3251, allocations: 0.9484 MB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3253, allocations: 59.42 kB / 459.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3253, allocations: 0 / 459.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Templates: time 0.01797/0.3433, allocations: 10.12 MB / 469.5 MB, free: 0.9062 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.689134481130168]