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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 103.1 kB / 18.4 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 188.5 kB / 19.34 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07031/0.07148, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003537/0.07505, allocations: 2.513 MB / 378.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.07769, allocations: 1.696 MB / 380 MB, free: 348 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.07792, allocations: 11.94 kB / 380 MB, free: 336 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1466/0.2245, allocations: 0.5374 MB / 380.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008644/0.2254, allocations: 430.4 kB / 381 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2269, allocations: 0.6239 MB / 381.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006932/0.2276, allocations: 0.7729 MB / 382.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.2278, allocations: 106.4 kB / 382.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.2282, allocations: 324.8 kB / 382.8 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.2286, allocations: 365.2 kB / 383.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.2287, allocations: 40.56 kB / 383.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.2291, allocations: 228.8 kB / 383.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.2293, allocations: 200.4 kB / 383.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.2295, allocations: 300.6 kB / 383.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.2304, allocations: 0.8587 MB / 384.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2304, allocations: 1.641 kB / 384.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2304, allocations: 0.5 kB / 384.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2304, allocations: 2.062 kB / 384.8 MB, free: 9.434 MB / 318.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.001348/0.2318, allocations: 1.228 MB / 386 MB, free: 8.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2318, allocations: 12.61 kB / 386 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.232, allocations: 83.25 kB / 386.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.2326, allocations: 0.5923 MB / 386.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.2327, allocations: 18.53 kB / 386.7 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.2327, allocations: 31.42 kB / 386.7 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.2333, allocations: 357.9 kB / 387.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2333, allocations: 1.062 kB / 387.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.2333, allocations: 9.641 kB / 387.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2334, allocations: 9.062 kB / 387.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.2337, allocations: 174.1 kB / 387.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.235, allocations: 1.332 MB / 388.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.2357, allocations: 354.1 kB / 389 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.236, allocations: 184 kB / 389.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.236, allocations: 11.83 kB / 389.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.2365, allocations: 459.8 kB / 389.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.2365, allocations: 0 / 389.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001275/0.2378, allocations: 0.7394 MB / 390.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.2379, allocations: 462.8 kB / 390.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009977/0.2389, allocations: 0.9344 MB / 391.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.239, allocations: 44.44 kB / 391.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.2392, allocations: 306.5 kB / 392.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.2393, allocations: 115.8 kB / 392.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.2394, allocations: 92.88 kB / 392.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.2395, allocations: 331.3 kB / 392.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.2397, allocations: 147.7 kB / 392.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.2401, allocations: 354.7 kB / 393.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009676/0.2411, allocations: 0.8007 MB / 393.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2411, allocations: 2.5 kB / 393.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009927/0.2421, allocations: 0.6656 MB / 394.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.2422, allocations: 97.16 kB / 394.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2422, allocations: 4.188 kB / 394.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2422, allocations: 13.84 kB / 394.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.2425, allocations: 67.12 kB / 394.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.2425, allocations: 7.734 kB / 394.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.2428, allocations: 47.36 kB / 394.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.2429, allocations: 24.03 kB / 394.8 MB, free: 2.93 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(flow=false fixed = true 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],$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,$PRE.stop.table.y,$PRE.stop.reset[1],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$whenCondition5,$whenCondition4,$PRE.start.table.y,$PRE.start.reset[1],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$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.000413/0.2433, allocations: 406.1 kB / 395.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2434, allocations: 84.19 kB / 395.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.2435, allocations: 81.95 kB / 395.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2436, allocations: 7.062 kB / 395.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2436, allocations: 1.156 kB / 395.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2437, allocations: 152.1 kB / 395.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2438, allocations: 27.62 kB / 395.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.244, allocations: 18.83 kB / 395.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2441, allocations: 41.58 kB / 395.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/0.2453, allocations: 1.097 MB / 396.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001026/0.2463, allocations: 1.066 MB / 397.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003878/0.2467, allocations: 266.4 kB / 398 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007459/0.2475, allocations: 0.6683 MB / 398.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of Backend: time 6.51e-07/0.2475, allocations: 0 / 398.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.2497, allocations: 0.9821 MB / 399.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of SimCode: time 0.002083/0.2518, allocations: 1.752 MB / 401.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of Templates: time 0.01617/0.2679, allocations: 10.12 MB / 411.6 MB, free: 10.34 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches