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.00144/0.00144, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001765/0.001765, allocations: 206 kB / 23.72 MB, free: 4.391 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.002055/0.002055, allocations: 67.89 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2686, allocations: 53.42 MB / 431.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004446/0.2731, allocations: 2.428 MB / 434.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.2767, allocations: 1.847 MB / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.2769, allocations: 15.88 kB / 435.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2783, allocations: 0.5492 MB / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.2794, allocations: 0.5022 MB / 437 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2807, allocations: 0.5522 MB / 437.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009926/0.2817, allocations: 0.8259 MB / 438.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.2819, allocations: 58.17 kB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.2823, allocations: 338.8 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004997/0.2828, allocations: 390.5 kB / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.404e-05/0.2829, allocations: 44 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.2834, allocations: 251.6 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.2836, allocations: 215.2 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2839, allocations: 226.5 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2849, allocations: 0.901 MB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2849, allocations: 0 / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2849, allocations: 0 / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.2849, allocations: 0 / 440.7 MB, free: 13.34 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.001956/0.2869, allocations: 1.189 MB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2869, allocations: 15.98 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.2871, allocations: 80.42 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/0.288, allocations: 0.5288 MB / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.288, allocations: 20.38 kB / 442.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.2881, allocations: 20.38 kB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.2888, allocations: 446.5 kB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2888, allocations: 4 kB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.2889, allocations: 19.97 kB / 443 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.2889, allocations: 8 kB / 443.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.2894, allocations: 284.9 kB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.291, allocations: 1.2 MB / 444.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.2919, allocations: 443 kB / 445 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.2923, allocations: 248.4 kB / 445.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.2923, allocations: 4 kB / 445.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007277/0.293, allocations: 0.5549 MB / 445.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.293, allocations: 0 / 445.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001632/0.2947, allocations: 0.9643 MB / 446.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/0.2949, allocations: 358.1 kB / 447.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.2961, allocations: 0.9772 MB / 448.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.2961, allocations: 45.69 kB / 448.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.2964, allocations: 312.9 kB / 448.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.2965, allocations: 115.2 kB / 448.5 MB, free: 5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.2967, allocations: 90.12 kB / 448.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2968, allocations: 330 kB / 448.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.2972, allocations: 250 kB / 449.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.2978, allocations: 0.5432 MB / 449.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.2987, allocations: 0.6055 MB / 450.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2987, allocations: 0 / 450.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001245/0.2999, allocations: 0.7956 MB / 451.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.392e-05/0.3, allocations: 97.09 kB / 451.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3, allocations: 12.22 kB / 451.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3001, allocations: 8 kB / 451.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3004, allocations: 59.84 kB / 451.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3004, allocations: 15.92 kB / 451.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.3006, allocations: 47.77 kB / 451.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3007, allocations: 20 kB / 451.4 MB, free: 1.855 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.0004269/0.3011, allocations: 390.7 kB / 451.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3012, allocations: 91.47 kB / 451.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3023, allocations: 0.6191 MB / 452.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3023, allocations: 4 kB / 452.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.3023, allocations: 8.125 kB / 452.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3023, allocations: 0 / 452.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3036, allocations: 0.9301 MB / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3036, allocations: 0 / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.3037, allocations: 39.86 kB / 453.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3037, allocations: 4 kB / 453.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.3038, allocations: 19.98 kB / 453.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3038, allocations: 4 kB / 453.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3038, allocations: 0 / 453.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.305, allocations: 0.921 MB / 454.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3052, allocations: 91.33 kB / 454.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3053, allocations: 27.98 kB / 454.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3056, allocations: 23.98 kB / 454.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3057, allocations: 39.94 kB / 454.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.3057, allocations: 23.98 kB / 454.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009561/0.3067, allocations: 0.706 MB / 455.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 0 / 455.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006845/0.3074, allocations: 156 kB / 455.5 MB, free: 13.59 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 (35): * Single equations (assignments): 24 * 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.001891/0.3093, allocations: 0.5155 MB / 456 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3106, allocations: 0.7578 MB / 456.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3106, allocations: 4 kB / 456.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.3112, allocations: 487 kB / 457.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.3122, allocations: 182.2 kB / 457.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.3144, allocations: 1.337 MB / 458.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3148, allocations: 338.6 kB / 459.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.3152, allocations: 117.1 kB / 459.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3153, allocations: 63.41 kB / 459.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3153, allocations: 0 / 459.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of Templates: time 0.02046/0.3358, allocations: 10.45 MB / 469.7 MB, free: 15.38 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins/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: 5.0271596647799015]