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.001171/0.001172, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2967, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.0036/0.3003, allocations: 2.579 MB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.3038, allocations: 1.933 MB / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.304, allocations: 7.938 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.3053, allocations: 0.541 MB / 414.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009547/0.3063, allocations: 490.2 kB / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3078, allocations: 0.5449 MB / 415.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.3088, allocations: 0.8261 MB / 416.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.309, allocations: 102 kB / 416.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.3095, allocations: 346.7 kB / 416.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.3098, allocations: 370.5 kB / 416.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.3099, allocations: 40 kB / 417 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.3103, allocations: 223.8 kB / 417.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3105, allocations: 215.3 kB / 417.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.3108, allocations: 314 kB / 417.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.3119, allocations: 0.8831 MB / 418.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3119, allocations: 0 / 418.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3119, allocations: 4 kB / 418.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.3119, allocations: 0 / 418.6 MB, free: 8.18 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.001738/0.3137, allocations: 1.253 MB / 419.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3137, allocations: 12.03 kB / 419.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.3139, allocations: 80.42 kB / 420 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.3147, allocations: 0.6138 MB / 420.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3147, allocations: 24.36 kB / 420.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.3148, allocations: 28.06 kB / 420.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.3154, allocations: 350.7 kB / 421 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3154, allocations: 0 / 421 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3154, allocations: 15.98 kB / 421 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.3155, allocations: 4 kB / 421 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.3158, allocations: 179.8 kB / 421.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3172, allocations: 1.345 MB / 422.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.3179, allocations: 362.8 kB / 422.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.3182, allocations: 171.4 kB / 423 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3183, allocations: 4 kB / 423 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/0.3188, allocations: 467.2 kB / 423.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.3189, allocations: 0 / 423.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001328/0.3202, allocations: 0.7512 MB / 424.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.3204, allocations: 460.9 kB / 424.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3215, allocations: 0.9733 MB / 425.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.3216, allocations: 45.69 kB / 425.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.3218, allocations: 312.9 kB / 426 MB, free: 280 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3219, allocations: 119.1 kB / 426.1 MB, free: 160 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.3221, allocations: 98.08 kB / 426.2 MB, free: 56 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3222, allocations: 330 kB / 426.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.3225, allocations: 152.9 kB / 426.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.323, allocations: 350.5 kB / 427 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.3237, allocations: 0.5855 MB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3237, allocations: 0 / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001006/0.3247, allocations: 0.6621 MB / 428.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.3248, allocations: 105.2 kB / 428.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3248, allocations: 8 kB / 428.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3248, allocations: 8 kB / 428.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.3251, allocations: 63.84 kB / 428.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.3251, allocations: 11.98 kB / 428.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3254, allocations: 43.78 kB / 428.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.3254, allocations: 20 kB / 428.5 MB, free: 13.53 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.0004026/0.3258, allocations: 414.9 kB / 428.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.326, allocations: 87.42 kB / 429 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.3261, allocations: 82.58 kB / 429.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3261, allocations: 4 kB / 429.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.3262, allocations: 0 / 429.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.3262, allocations: 11.92 kB / 429.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3274, allocations: 0.9777 MB / 430.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3274, allocations: 0 / 430.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.3275, allocations: 23.98 kB / 430.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3276, allocations: 0 / 430.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3276, allocations: 19.92 kB / 430.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3276, allocations: 4 kB / 430.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3276, allocations: 3.938 kB / 430.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3286, allocations: 0.7832 MB / 430.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.3288, allocations: 156.6 kB / 431.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3289, allocations: 27.92 kB / 431.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3291, allocations: 23.98 kB / 431.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3292, allocations: 35.95 kB / 431.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.3293, allocations: 23.98 kB / 431.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007942/0.3301, allocations: 0.7059 MB / 431.9 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3301, allocations: 0 / 431.9 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00055/0.3306, allocations: 155.8 kB / 432.1 MB, free: 9.852 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.001119/0.3318, allocations: 496.5 kB / 432.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009048/0.3327, allocations: 0.6152 MB / 433.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3327, allocations: 192 / 433.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.3332, allocations: 442.2 kB / 433.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.334, allocations: 185.9 kB / 433.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3358, allocations: 1.224 MB / 435 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.3363, allocations: 0.9446 MB / 435.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.3366, allocations: 112.8 kB / 436 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3367, allocations: 59.42 kB / 436.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3367, allocations: 0 / 436.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of Templates: time 0.01675/0.3535, allocations: 9.497 MB / 445.6 MB, free: 12.34 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