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.00195/0.00195, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001407/0.001407, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.522/1.522, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.00193/0.00193, allocations: 68.03 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.33 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004217/0.1102, allocations: 2.601 MB / 430.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2208/0.3311, allocations: 1.932 MB / 432.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.3316, allocations: 15 kB / 432.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.3329, allocations: 0.5296 MB / 432.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.334, allocations: 0.4905 MB / 433.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.3354, allocations: 0.5424 MB / 433.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.3362, allocations: 0.8101 MB / 434.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3364, allocations: 70.5 kB / 434.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.3368, allocations: 334.3 kB / 435.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.3373, allocations: 404.1 kB / 435.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.3374, allocations: 42.84 kB / 435.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.3379, allocations: 231.1 kB / 435.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.3382, allocations: 217.7 kB / 436 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.3384, allocations: 309.5 kB / 436.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3397, allocations: 0.8878 MB / 437.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3397, allocations: 1 kB / 437.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3397, allocations: 0 / 437.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3397, allocations: 0 / 437.2 MB, free: 7.629 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.001749/0.3415, allocations: 1.253 MB / 438.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3415, allocations: 10.95 kB / 438.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3416, allocations: 83.17 kB / 438.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.3424, allocations: 0.6131 MB / 439.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3425, allocations: 16.5 kB / 439.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.3425, allocations: 24.58 kB / 439.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.3431, allocations: 353.5 kB / 439.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3432, allocations: 5.609 kB / 439.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.3432, allocations: 16.45 kB / 439.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.3432, allocations: 7.688 kB / 439.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.3436, allocations: 178.2 kB / 439.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3451, allocations: 1.346 MB / 441.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.3458, allocations: 325.5 kB / 441.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.3461, allocations: 155.8 kB / 441.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.3461, allocations: 14.83 kB / 441.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.3467, allocations: 467.5 kB / 442 MB, free: 4.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.3467, allocations: 0 / 442 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00144/0.3481, allocations: 0.7463 MB / 442.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.3483, allocations: 458.7 kB / 443.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3496, allocations: 0.9699 MB / 444.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.3497, allocations: 49 kB / 444.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3499, allocations: 315.5 kB / 444.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.35, allocations: 109.4 kB / 444.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.3501, allocations: 100.5 kB / 444.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.3502, allocations: 325.2 kB / 445.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.3505, allocations: 151.3 kB / 445.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.3509, allocations: 358.8 kB / 445.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.3516, allocations: 0.5872 MB / 446.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3516, allocations: 4.844 kB / 446.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001065/0.3527, allocations: 0.6648 MB / 446.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.3527, allocations: 97.84 kB / 446.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3527, allocations: 3.281 kB / 446.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3527, allocations: 14.78 kB / 447 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.353, allocations: 64.23 kB / 447 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.353, allocations: 10.45 kB / 447 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3533, allocations: 57.12 kB / 447.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3534, allocations: 23.62 kB / 447.1 MB, free: 1.391 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.0003799/0.3538, allocations: 394.9 kB / 447.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3539, allocations: 90.59 kB / 447.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.354, allocations: 82.45 kB / 447.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.354, allocations: 11.72 kB / 447.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.354, allocations: 1.25 kB / 447.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.354, allocations: 3.266 kB / 447.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3552, allocations: 0.9733 MB / 448.6 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3552, allocations: 1.062 kB / 448.6 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3553, allocations: 28.8 kB / 448.7 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3553, allocations: 1.938 kB / 448.7 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.3554, allocations: 16.09 kB / 448.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3554, allocations: 6.156 kB / 448.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3554, allocations: 6.125 kB / 448.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3565, allocations: 0.7836 MB / 449.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.3567, allocations: 155.7 kB / 449.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3569, allocations: 28.56 kB / 449.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.3571, allocations: 23.42 kB / 449.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.3572, allocations: 39.94 kB / 449.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.3573, allocations: 19.97 kB / 449.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000968/0.3582, allocations: 0.7028 MB / 450.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3582, allocations: 0 / 450.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006894/0.3589, allocations: 155.2 kB / 450.6 MB, free: 15.52 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.001768/0.3607, allocations: 0.4941 MB / 451.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3617, allocations: 0.5595 MB / 451.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3617, allocations: 4.125 kB / 451.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.3623, allocations: 356.7 kB / 452 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.3632, allocations: 186.8 kB / 452.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.3654, allocations: 1.287 MB / 453.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.366, allocations: 0.94 MB / 454.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3662, allocations: 60.58 kB / 454.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3662, allocations: 3.938 kB / 454.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of Templates: time 0.01912/0.3853, allocations: 10.13 MB / 464.6 MB, free: 8.809 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.02644657716155]