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.00133/0.00133, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001367/0.001367, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.513/1.513, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001868/0.001868, allocations: 67.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1162, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004492/0.1207, allocations: 2.6 MB / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2491/0.3698, allocations: 1.937 MB / 431.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000827/0.3706, allocations: 11.59 kB / 431.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.3721, allocations: 0.5317 MB / 432.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.3733, allocations: 0.4895 MB / 432.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3749, allocations: 0.5378 MB / 433.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.3758, allocations: 0.8117 MB / 434.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.376, allocations: 67.27 kB / 434.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.3764, allocations: 336.9 kB / 434.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.3768, allocations: 405.3 kB / 434.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.3769, allocations: 42.44 kB / 434.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.3774, allocations: 232.9 kB / 435.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.3777, allocations: 215.3 kB / 435.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.3779, allocations: 310.8 kB / 435.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3792, allocations: 0.8873 MB / 436.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3792, allocations: 0.7969 kB / 436.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3792, allocations: 1.25 kB / 436.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3792, allocations: 3.844 kB / 436.5 MB, free: 7.621 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.001843/0.3811, allocations: 1.248 MB / 437.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3811, allocations: 10.5 kB / 437.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3813, allocations: 84.23 kB / 437.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.3821, allocations: 0.6092 MB / 438.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3822, allocations: 25.8 kB / 438.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.3822, allocations: 21.31 kB / 438.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.3829, allocations: 353.8 kB / 438.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3829, allocations: 7.125 kB / 438.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.3829, allocations: 12.83 kB / 438.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.383, allocations: 7.125 kB / 438.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.3834, allocations: 175.9 kB / 439.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3848, allocations: 1.348 MB / 440.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.3855, allocations: 332.8 kB / 440.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.3857, allocations: 155.6 kB / 440.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.3858, allocations: 4.938 kB / 440.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.3864, allocations: 468.9 kB / 441.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.3864, allocations: 1.344 kB / 441.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001475/0.3878, allocations: 0.7483 MB / 442.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.388, allocations: 458.2 kB / 442.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3892, allocations: 0.9711 MB / 443.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.3893, allocations: 43.84 kB / 443.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3895, allocations: 316.7 kB / 443.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.3896, allocations: 112.2 kB / 444 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.3897, allocations: 96.7 kB / 444.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.3898, allocations: 329.5 kB / 444.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.3901, allocations: 150.6 kB / 444.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.3906, allocations: 353 kB / 444.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.3912, allocations: 0.5918 MB / 445.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3912, allocations: 5.391 kB / 445.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001076/0.3923, allocations: 0.6642 MB / 446.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.3924, allocations: 99.06 kB / 446.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3924, allocations: 11.25 kB / 446.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3924, allocations: 10.66 kB / 446.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.3927, allocations: 58.05 kB / 446.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3927, allocations: 11.03 kB / 446.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.393, allocations: 52.39 kB / 446.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.393, allocations: 23.73 kB / 446.4 MB, free: 1.398 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.0003992/0.3934, allocations: 401.2 kB / 446.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.3936, allocations: 86.75 kB / 446.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.3937, allocations: 79.38 kB / 447 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3937, allocations: 8.641 kB / 447 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3937, allocations: 1.828 kB / 447 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3937, allocations: 2.734 kB / 447 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3949, allocations: 0.9702 MB / 447.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3949, allocations: 5.344 kB / 448 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.395, allocations: 28.09 kB / 448 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.395, allocations: 2.188 kB / 448 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.3951, allocations: 19.14 kB / 448 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3951, allocations: 2.312 kB / 448 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3951, allocations: 7.312 kB / 448 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3961, allocations: 0.7889 MB / 448.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.3963, allocations: 156.4 kB / 449 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3964, allocations: 22.53 kB / 449 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3967, allocations: 24.3 kB / 449 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.3968, allocations: 43.52 kB / 449 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.3968, allocations: 25.61 kB / 449.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.3979, allocations: 0.707 MB / 449.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3979, allocations: 0 / 449.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006764/0.3985, allocations: 158.9 kB / 449.9 MB, free: 15.51 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.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,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.001776/0.4003, allocations: 0.4892 MB / 450.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.4014, allocations: 0.5608 MB / 451 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4014, allocations: 1.125 kB / 451 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.402, allocations: 375.8 kB / 451.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.403, allocations: 166.5 kB / 451.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.4053, allocations: 1.233 MB / 452.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.406, allocations: 0.9483 MB / 453.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00033/0.4064, allocations: 116.3 kB / 453.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.4065, allocations: 63.59 kB / 453.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4065, allocations: 0 / 453.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.0214/0.4279, allocations: 9.553 MB / 463.4 MB, free: 9.387 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/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.186768949963152]