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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3101, allocations: 50.54 MB / 409.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003755/0.3139, allocations: 2.572 MB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.3171, allocations: 1.937 MB / 413.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.3174, allocations: 11.88 kB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.3186, allocations: 0.5371 MB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009345/0.3195, allocations: 490.2 kB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3208, allocations: 0.5448 MB / 415.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.3217, allocations: 0.83 MB / 416.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.3219, allocations: 109.9 kB / 416.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.3223, allocations: 338.7 kB / 416.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.3227, allocations: 366.6 kB / 416.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.3227, allocations: 48 kB / 417 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.3231, allocations: 235.7 kB / 417.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.3233, allocations: 203.3 kB / 417.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.3236, allocations: 314.1 kB / 417.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.3245, allocations: 0.8849 MB / 418.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3245, allocations: 0 / 418.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3245, allocations: 0 / 418.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3245, allocations: 0 / 418.6 MB, free: 8.16 MB / 334.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.001632/0.3262, allocations: 1.222 MB / 419.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3262, allocations: 8.031 kB / 419.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3264, allocations: 83.98 kB / 419.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.3271, allocations: 0.6013 MB / 420.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3272, allocations: 16.38 kB / 420.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.3272, allocations: 32.06 kB / 420.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.3278, allocations: 358.7 kB / 420.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3278, allocations: 7.938 kB / 420.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.3279, allocations: 12 kB / 420.9 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.3279, allocations: 8 kB / 420.9 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.3283, allocations: 171 kB / 421.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.3296, allocations: 1.348 MB / 422.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3303, allocations: 366.7 kB / 422.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.3306, allocations: 175.4 kB / 423 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3307, allocations: 4 kB / 423 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.3313, allocations: 467 kB / 423.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.3313, allocations: 0 / 423.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001279/0.3326, allocations: 0.7468 MB / 424.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/0.3328, allocations: 452.9 kB / 424.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3339, allocations: 0.981 MB / 425.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.334, allocations: 45.7 kB / 425.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.3342, allocations: 312.8 kB / 426 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3343, allocations: 106.6 kB / 426.1 MB, free: 188 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3345, allocations: 94.12 kB / 426.2 MB, free: 88 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3346, allocations: 330 kB / 426.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.3349, allocations: 148.9 kB / 426.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.3354, allocations: 358.4 kB / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.3361, allocations: 0.5699 MB / 427.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3361, allocations: 0 / 427.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001044/0.3372, allocations: 0.6777 MB / 428.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.3373, allocations: 105 kB / 428.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.3373, allocations: 0 / 428.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3373, allocations: 8 kB / 428.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.3376, allocations: 64.38 kB / 428.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3376, allocations: 11.94 kB / 428.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.3379, allocations: 47.64 kB / 428.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3379, allocations: 20 kB / 428.5 MB, free: 13.56 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.0003764/0.3383, allocations: 406.6 kB / 428.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3384, allocations: 87 kB / 429 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.3386, allocations: 82.58 kB / 429 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3386, allocations: 4 kB / 429 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3386, allocations: 4 kB / 429.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3386, allocations: 0 / 429.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3398, allocations: 0.9698 MB / 430 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3398, allocations: 0 / 430 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3399, allocations: 35.98 kB / 430.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3399, allocations: 0 / 430.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3399, allocations: 27.92 kB / 430.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3399, allocations: 0 / 430.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.34, allocations: 4 kB / 430.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.341, allocations: 0.7788 MB / 430.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3412, allocations: 152.2 kB / 431 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3413, allocations: 27.94 kB / 431 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3415, allocations: 23.97 kB / 431.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3416, allocations: 35.97 kB / 431.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.3417, allocations: 23.98 kB / 431.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.3425, allocations: 0.6982 MB / 431.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3425, allocations: 0 / 431.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.343, allocations: 155.8 kB / 432 MB, free: 9.906 MB / 350.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.001219/0.3443, allocations: 497.4 kB / 432.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009297/0.3452, allocations: 0.6156 MB / 433.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3452, allocations: 8.25 kB / 433.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.3458, allocations: 441.2 kB / 433.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.3466, allocations: 176.2 kB / 433.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.3484, allocations: 1.209 MB / 434.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.3489, allocations: 0.9446 MB / 435.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.3492, allocations: 105.2 kB / 435.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3493, allocations: 59.42 kB / 436 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3493, allocations: 4 kB / 436 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Templates: time 0.01615/0.3655, allocations: 9.513 MB / 445.5 MB, free: 12.4 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches