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.001175/0.001175, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 71.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2758, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003712/0.2795, allocations: 2.576 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.2826, allocations: 1.928 MB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.2828, allocations: 15.88 kB / 414.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.2839, allocations: 0.541 MB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00085/0.2848, allocations: 490.3 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2861, allocations: 0.5371 MB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.2869, allocations: 0.8378 MB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2871, allocations: 106 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.2874, allocations: 342.7 kB / 417.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.2878, allocations: 366.6 kB / 417.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.2879, allocations: 44 kB / 417.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.2883, allocations: 231.7 kB / 417.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.2885, allocations: 207.4 kB / 418.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.2888, allocations: 318 kB / 418.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008797/0.2897, allocations: 0.8771 MB / 419.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2897, allocations: 0 / 419.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.2897, allocations: 0 / 419.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.2897, allocations: 3.938 kB / 419.3 MB, free: 8.203 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.001676/0.2914, allocations: 1.218 MB / 420.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2914, allocations: 16.03 kB / 420.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2916, allocations: 76 kB / 420.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.2924, allocations: 0.6091 MB / 421.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.2925, allocations: 20.36 kB / 421.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.2925, allocations: 32.12 kB / 421.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.2931, allocations: 350.7 kB / 421.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2931, allocations: 0 / 421.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.2932, allocations: 15.98 kB / 421.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.2932, allocations: 8 kB / 421.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.2936, allocations: 179.8 kB / 421.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2951, allocations: 1.341 MB / 423.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.2957, allocations: 358.7 kB / 423.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.296, allocations: 179.4 kB / 423.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.2961, allocations: 7.984 kB / 423.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000574/0.2967, allocations: 467 kB / 424.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.2967, allocations: 0 / 424.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001304/0.298, allocations: 0.7442 MB / 424.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.2982, allocations: 456.9 kB / 425.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2993, allocations: 0.9733 MB / 426.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.2993, allocations: 45.69 kB / 426.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.2996, allocations: 316.8 kB / 426.7 MB, free: 344 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.2997, allocations: 114.6 kB / 426.8 MB, free: 228 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2998, allocations: 90.12 kB / 426.9 MB, free: 132 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3, allocations: 329.9 kB / 427.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.3002, allocations: 152.9 kB / 427.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.3007, allocations: 358.4 kB / 427.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.3014, allocations: 0.5743 MB / 428.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3014, allocations: 0 / 428.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00104/0.3024, allocations: 0.6691 MB / 428.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.3025, allocations: 104 kB / 429 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3025, allocations: 4 kB / 429 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.3026, allocations: 8.188 kB / 429 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3028, allocations: 59.89 kB / 429.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.3029, allocations: 11.94 kB / 429.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.3031, allocations: 51.92 kB / 429.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.3032, allocations: 23.98 kB / 429.2 MB, free: 13.6 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.0004263/0.3036, allocations: 402.8 kB / 429.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3038, allocations: 86.98 kB / 429.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3039, allocations: 78.59 kB / 429.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3039, allocations: 3.984 kB / 429.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3039, allocations: 4 kB / 429.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.3041, allocations: 156 kB / 429.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.3042, allocations: 27.94 kB / 429.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3044, allocations: 23.97 kB / 429.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3045, allocations: 35.97 kB / 430 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001274/0.3058, allocations: 1.092 MB / 431.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001208/0.307, allocations: 1.067 MB / 432.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003883/0.3074, allocations: 260.2 kB / 432.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008156/0.3083, allocations: 0.7059 MB / 433.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.3083, allocations: 0 / 433.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.3106, allocations: 0.9692 MB / 434.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of SimCode: time 0.002068/0.3127, allocations: 1.787 MB / 435.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Templates: time 0.01809/0.3308, allocations: 10.21 MB / 446.1 MB, free: 12.62 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches