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.00177/0.00177, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.002029/0.002029, allocations: 222.3 kB / 23 MB, free: 5.609 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.578/1.578, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.001865/0.001865, allocations: 59.89 kB / 376.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2927, allocations: 53.33 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004645/0.2974, allocations: 2.608 MB / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.3012, allocations: 1.952 MB / 434.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.3015, allocations: 15.88 kB / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.3028, allocations: 0.5407 MB / 434.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3039, allocations: 0.4904 MB / 435.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3055, allocations: 0.5446 MB / 435.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.3066, allocations: 0.8105 MB / 436.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.3068, allocations: 61.98 kB / 436.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.3073, allocations: 346.7 kB / 437.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.3078, allocations: 398.5 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.3078, allocations: 44 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.3083, allocations: 231.8 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3085, allocations: 211.2 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.3088, allocations: 314 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.31, allocations: 0.8922 MB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.31, allocations: 0 / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.31, allocations: 0 / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.31, allocations: 4 kB / 439.2 MB, free: 14.11 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.3119, allocations: 1.253 MB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.312, allocations: 8.031 kB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3121, allocations: 84.42 kB / 440.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.3131, allocations: 0.6176 MB / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.3131, allocations: 20.36 kB / 441.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.3132, allocations: 24.38 kB / 441.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.3138, allocations: 355 kB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3139, allocations: 0 / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.3139, allocations: 19.98 kB / 441.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.3139, allocations: 8 kB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.3143, allocations: 171.8 kB / 441.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3162, allocations: 1.345 MB / 443.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.3169, allocations: 338.8 kB / 443.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3172, allocations: 147.4 kB / 443.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.3173, allocations: 11.92 kB / 443.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007034/0.318, allocations: 467.2 kB / 444 MB, free: 8.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.318, allocations: 0 / 444 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001476/0.3195, allocations: 0.743 MB / 444.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003207/0.3198, allocations: 464.9 kB / 445.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3213, allocations: 0.9733 MB / 446.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.3213, allocations: 45.69 kB / 446.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.3217, allocations: 308.9 kB / 446.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.3219, allocations: 123.1 kB / 446.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.322, allocations: 94.12 kB / 446.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.3223, allocations: 329.9 kB / 447.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.3226, allocations: 156.9 kB / 447.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.3232, allocations: 354.4 kB / 447.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.3241, allocations: 0.5781 MB / 448.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.3241, allocations: 4 kB / 448.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00122/0.3253, allocations: 0.6696 MB / 448.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.3254, allocations: 93.09 kB / 448.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3254, allocations: 8.281 kB / 448.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.3255, allocations: 11.94 kB / 449 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3257, allocations: 67.83 kB / 449 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.3257, allocations: 8 kB / 449 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.326, allocations: 43.83 kB / 449.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.3261, allocations: 20 kB / 449.1 MB, free: 3.504 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.0006562/0.3267, allocations: 403.1 kB / 449.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.3269, allocations: 95.45 kB / 449.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.3279, allocations: 0.5073 MB / 450.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3279, allocations: 4 kB / 450.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3279, allocations: 3.938 kB / 450.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3279, allocations: 4 kB / 450.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3294, allocations: 0.9854 MB / 451.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3294, allocations: 0 / 451.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3295, allocations: 23.94 kB / 451.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.3295, allocations: 3.984 kB / 451.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.3295, allocations: 16 kB / 451.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3295, allocations: 288 / 451.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3295, allocations: 3.984 kB / 451.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3309, allocations: 0.7981 MB / 451.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.3311, allocations: 160.5 kB / 452.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3312, allocations: 27.98 kB / 452.1 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3314, allocations: 19.98 kB / 452.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3315, allocations: 39.95 kB / 452.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.3316, allocations: 20 kB / 452.2 MB, free: 240 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00103/0.3326, allocations: 0.702 MB / 452.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3326, allocations: 0 / 452.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006742/0.3333, allocations: 159.8 kB / 453.1 MB, free: 15.38 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.001892/0.3352, allocations: 0.4884 MB / 453.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3364, allocations: 0.5603 MB / 454.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3364, allocations: 0 / 454.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.337, allocations: 384.3 kB / 454.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.338, allocations: 174.3 kB / 454.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3405, allocations: 1.238 MB / 455.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.3411, allocations: 0.9407 MB / 456.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.3414, allocations: 117.3 kB / 456.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3416, allocations: 59.8 kB / 457 MB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3416, allocations: 0 / 457 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01979/0.3614, allocations: 9.629 MB / 466.6 MB, free: 1.832 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.171858111396432]