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.001337/0.001337, allocations: 102.6 kB / 18.4 MB, free: 4.648 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.001525/0.001525, allocations: 190.1 kB / 19.34 MB, free: 3.723 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.246/1.246, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001135/0.001135, allocations: 47.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06687/0.06802, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003188/0.07122, allocations: 2.509 MB / 378.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.0738, allocations: 1.696 MB / 380 MB, free: 360 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.07403, allocations: 11.88 kB / 380 MB, free: 348 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1432/0.2172, allocations: 0.5322 MB / 380.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008564/0.2181, allocations: 428.9 kB / 381 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.2195, allocations: 0.6257 MB / 381.6 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009569/0.2205, allocations: 0.7879 MB / 382.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.2207, allocations: 110.7 kB / 382.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.2213, allocations: 324.3 kB / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.2218, allocations: 360.2 kB / 383.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.2219, allocations: 40.56 kB / 383.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.2223, allocations: 229.1 kB / 383.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.2225, allocations: 205.3 kB / 383.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.2228, allocations: 297.1 kB / 383.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.2237, allocations: 0.8535 MB / 384.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2238, allocations: 3.812 kB / 384.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2238, allocations: 1.688 kB / 384.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.2238, allocations: 2.375 kB / 384.8 MB, free: 9.406 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.001661/0.2255, allocations: 1.197 MB / 386 MB, free: 8.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2255, allocations: 12.3 kB / 386 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.2257, allocations: 78.62 kB / 386.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.2264, allocations: 0.5835 MB / 386.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.2264, allocations: 23.72 kB / 386.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.2265, allocations: 28.42 kB / 386.7 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.2271, allocations: 356.2 kB / 387.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2271, allocations: 2.172 kB / 387.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.2271, allocations: 9.688 kB / 387.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.2271, allocations: 14.97 kB / 387.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.2275, allocations: 176.1 kB / 387.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.2288, allocations: 1.332 MB / 388.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.2295, allocations: 353.8 kB / 388.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.2298, allocations: 177.1 kB / 389.1 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.2298, allocations: 13.42 kB / 389.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.2303, allocations: 455.9 kB / 389.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.083e-06/0.2304, allocations: 0 / 389.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001287/0.2316, allocations: 0.7419 MB / 390.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.2317, allocations: 460.4 kB / 390.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.2327, allocations: 0.9272 MB / 391.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2328, allocations: 44.42 kB / 391.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.233, allocations: 319.6 kB / 392 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.2331, allocations: 107.3 kB / 392.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.2332, allocations: 93.5 kB / 392.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.2333, allocations: 327.9 kB / 392.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.2336, allocations: 150.7 kB / 392.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.234, allocations: 355.9 kB / 393 MB, free: 4.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.2349, allocations: 0.7841 MB / 393.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2349, allocations: 1.375 kB / 393.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009851/0.2359, allocations: 0.6679 MB / 394.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.236, allocations: 98.98 kB / 394.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.236, allocations: 8.906 kB / 394.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.236, allocations: 14.25 kB / 394.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2363, allocations: 66.86 kB / 394.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.2363, allocations: 6.453 kB / 394.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.2366, allocations: 53.14 kB / 394.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.2366, allocations: 18.25 kB / 394.8 MB, free: 2.988 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.000351/0.237, allocations: 406.8 kB / 395.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2371, allocations: 79.98 kB / 395.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.2372, allocations: 81.33 kB / 395.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2372, allocations: 3.156 kB / 395.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2372, allocations: 1.719 kB / 395.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2374, allocations: 150.5 kB / 395.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.2375, allocations: 27.8 kB / 395.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2377, allocations: 27.3 kB / 395.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.2378, allocations: 40.97 kB / 395.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001091/0.2389, allocations: 1.094 MB / 396.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001042/0.24, allocations: 1.061 MB / 397.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003809/0.2404, allocations: 253.4 kB / 398 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.2411, allocations: 0.6717 MB / 398.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of Backend: time 4.01e-07/0.2411, allocations: 0 / 398.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.2433, allocations: 0.9901 MB / 399.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of SimCode: time 0.001985/0.2453, allocations: 1.743 MB / 401.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Templates: time 0.01614/0.2615, allocations: 10.03 MB / 411.4 MB, free: 10.52 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