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.0009042/0.0009043, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001599, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002511, allocations: 8 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 51.52 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003551/0.1261, allocations: 2.245 MB / 361.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.1295, allocations: 1.914 MB / 363.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1298, allocations: 15.81 kB / 363.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1309, allocations: 0.5058 MB / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.1317, allocations: 442.7 kB / 364.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1329, allocations: 498.6 kB / 364.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.1337, allocations: 0.7948 MB / 365.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.1339, allocations: 109.9 kB / 365.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.1343, allocations: 282.6 kB / 366 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.1347, allocations: 342.5 kB / 366.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.1347, allocations: 16 kB / 366.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.1351, allocations: 179.8 kB / 366.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.1353, allocations: 187.3 kB / 366.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.1355, allocations: 307.8 kB / 367 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.1364, allocations: 0.8215 MB / 367.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1364, allocations: 0 / 367.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1364, allocations: 4 kB / 367.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1364, allocations: 0 / 367.9 MB, free: 4.676 MB / 302.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.001719/0.1381, allocations: 1.106 MB / 369 MB, free: 3.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1382, allocations: 8.031 kB / 369 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1384, allocations: 83.91 kB / 369.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.1392, allocations: 0.5936 MB / 369.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1392, allocations: 20.36 kB / 369.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.1393, allocations: 28.12 kB / 369.7 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.1399, allocations: 354.7 kB / 370 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1399, allocations: 4 kB / 370.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.14, allocations: 12 kB / 370.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.14, allocations: 7.984 kB / 370.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.1404, allocations: 175.8 kB / 370.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.1421, allocations: 1.352 MB / 371.6 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.1428, allocations: 358.8 kB / 371.9 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.1431, allocations: 169.9 kB / 372.1 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.1431, allocations: 15.94 kB / 372.1 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2168/0.3599, allocations: 447.9 kB / 372.6 MB, free: 19.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.416e-06/0.36, allocations: 0 / 372.6 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00152/0.3615, allocations: 0.7455 MB / 373.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.3616, allocations: 461.6 kB / 373.8 MB, free: 18.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.363, allocations: 0.9717 MB / 374.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.3631, allocations: 46.45 kB / 374.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.3634, allocations: 315 kB / 375.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.3635, allocations: 107.9 kB / 375.2 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/0.3636, allocations: 53.67 kB / 375.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.3637, allocations: 332.2 kB / 375.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.364, allocations: 153.7 kB / 375.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.3645, allocations: 350.5 kB / 376.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.3652, allocations: 0.5728 MB / 376.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3652, allocations: 1.375 kB / 376.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001036/0.3662, allocations: 0.6808 MB / 377.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.3663, allocations: 96.12 kB / 377.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3663, allocations: 4.375 kB / 377.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3663, allocations: 7.781 kB / 377.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.3666, allocations: 62.36 kB / 377.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3666, allocations: 6.75 kB / 377.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.3669, allocations: 54.84 kB / 377.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.367, allocations: 22.03 kB / 377.6 MB, free: 16.76 MB / 302.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.0003912/0.3674, allocations: 407 kB / 378 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.3675, allocations: 89.7 kB / 378 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.3676, allocations: 83.91 kB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3676, allocations: 4.156 kB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3676, allocations: 1.219 kB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.3676, allocations: 3.609 kB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.3689, allocations: 0.982 MB / 379.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3689, allocations: 2.344 kB / 379.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.369, allocations: 23.09 kB / 379.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.369, allocations: 6.75 kB / 379.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.369, allocations: 17 kB / 379.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3691, allocations: 2.156 kB / 379.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3691, allocations: 4.25 kB / 379.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3701, allocations: 0.7757 MB / 380 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.3702, allocations: 169.2 kB / 380.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3703, allocations: 27.3 kB / 380.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3706, allocations: 29.52 kB / 380.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3707, allocations: 35.34 kB / 380.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.3708, allocations: 22.89 kB / 380.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009955/0.3718, allocations: 0.7004 MB / 380.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3718, allocations: 0 / 380.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.3723, allocations: 161.2 kB / 381.1 MB, free: 14.88 MB / 302.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.001141/0.3735, allocations: 0.493 MB / 381.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.3745, allocations: 0.6033 MB / 382.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3745, allocations: 64 / 382.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.375, allocations: 444.1 kB / 382.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.376, allocations: 174.9 kB / 382.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.378, allocations: 1.385 MB / 384.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.3785, allocations: 0.945 MB / 385.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.3789, allocations: 113.3 kB / 385.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.379, allocations: 57.45 kB / 385.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3791, allocations: 0 / 385.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Templates: time 0.0214/0.4005, allocations: 8.867 MB / 394.2 MB, free: 9.336 MB / 302.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