Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000861/0.0008611, allocations: 86.22 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.529e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09584, allocations: 47.59 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4311, allocations: 80.51 MB / 443.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4314, allocations: 68.66 kB / 443.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07015/0.5016, allocations: 25.71 MB / 469.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5016, allocations: 0 / 469.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.373e-05/0.5017, allocations: 19.94 kB / 469.4 MB, free: 9.941 MB / 346.7 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.00148/0.5032, allocations: 0.9787 MB / 470.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5032, allocations: 8.031 kB / 470.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.5034, allocations: 86.98 kB / 470.5 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.5044, allocations: 0.6077 MB / 471.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.5045, allocations: 10.75 kB / 471.1 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.5045, allocations: 23.95 kB / 471.1 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003279/0.5049, allocations: 170.1 kB / 471.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.5054, allocations: 341.1 kB / 471.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5054, allocations: 0 / 471.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.5054, allocations: 4 kB / 471.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.5054, allocations: 8 kB / 471.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.5071, allocations: 1.381 MB / 473 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.5075, allocations: 325.1 kB / 473.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.5077, allocations: 167.8 kB / 473.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.5077, allocations: 4.125 kB / 473.5 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/0.5083, allocations: 457.9 kB / 473.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.5083, allocations: 0 / 473.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009464/0.5092, allocations: 0.5217 MB / 474.4 MB, free: 5.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/0.5094, allocations: 459.1 kB / 474.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5105, allocations: 0.8089 MB / 475.7 MB, free: 4.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.5105, allocations: 37.69 kB / 475.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.5107, allocations: 301.3 kB / 476 MB, free: 3.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.5108, allocations: 112.2 kB / 476.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.5109, allocations: 0 / 476.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.511, allocations: 329.7 kB / 476.5 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.5112, allocations: 140.8 kB / 476.6 MB, free: 3.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.5115, allocations: 353.5 kB / 476.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.5118, allocations: 171.5 kB / 477.1 MB, free: 3.004 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5119, allocations: 0 / 477.1 MB, free: 3.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008169/0.5127, allocations: 0.5643 MB / 477.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.5128, allocations: 98.7 kB / 477.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5128, allocations: 4 kB / 477.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5128, allocations: 4.281 kB / 477.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.5131, allocations: 75.8 kB / 477.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5131, allocations: 4 kB / 477.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.5134, allocations: 39.73 kB / 477.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.5134, allocations: 27.98 kB / 477.9 MB, free: 2.277 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(fixed = false protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(fixed = false protected = true ) "Connector of Boolean output signal" type: Boolean 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],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.5138, allocations: 258 kB / 478.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.5139, allocations: 83.06 kB / 478.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.5146, allocations: 431.9 kB / 478.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5146, allocations: 4 kB / 478.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5146, allocations: 7.953 kB / 478.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5146, allocations: 3.984 kB / 478.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.5157, allocations: 0.9511 MB / 479.6 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5157, allocations: 4 kB / 479.6 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5159, allocations: 27.98 kB / 479.7 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5159, allocations: 4 kB / 479.7 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.5159, allocations: 15.98 kB / 479.7 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5159, allocations: 4 kB / 479.7 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5159, allocations: 7.891 kB / 479.7 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.5169, allocations: 0.7413 MB / 480.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.5171, allocations: 192.1 kB / 480.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5172, allocations: 16 kB / 480.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.5175, allocations: 31.91 kB / 480.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5176, allocations: 39.95 kB / 480.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.5177, allocations: 23.98 kB / 480.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007118/0.5184, allocations: 0.6202 MB / 481.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.5184, allocations: 0 / 481.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006397/0.5191, allocations: 171.9 kB / 481.5 MB, free: 14.53 MB / 362.7 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.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009562/0.52, allocations: 445.6 kB / 482 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007459/0.5208, allocations: 0.6037 MB / 482.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5208, allocations: 4.5 kB / 482.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.5212, allocations: 433.9 kB / 483 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.522, allocations: 155.6 kB / 483.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.5235, allocations: 0.9514 MB / 484.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.524, allocations: 0.945 MB / 485 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.5243, allocations: 117.1 kB / 485.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.5244, allocations: 59.42 kB / 485.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5244, allocations: 0 / 485.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.01495/0.5394, allocations: 8.51 MB / 493.7 MB, free: 2.18 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches