Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 103.6 kB / 21.19 MB, free: 0.5156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 209.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 47.92 kB / 379 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2773, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004348/0.2817, allocations: 2.429 MB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2853, allocations: 1.852 MB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2856, allocations: 11.88 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2869, allocations: 0.5608 MB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.2881, allocations: 0.4936 MB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.2895, allocations: 0.5545 MB / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2906, allocations: 0.822 MB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.2908, allocations: 62.17 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.2912, allocations: 346.8 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.2918, allocations: 386.5 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.2918, allocations: 44 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.2923, allocations: 239.7 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.2926, allocations: 215.2 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.2929, allocations: 230.5 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.294, allocations: 0.9004 MB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.294, allocations: 0 / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.294, allocations: 3.984 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.294, allocations: 4 kB / 441.4 MB, free: 13.61 MB / 350.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.001967/0.296, allocations: 1.178 MB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.296, allocations: 8.031 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2962, allocations: 88.41 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009595/0.2971, allocations: 0.5249 MB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.2972, allocations: 28.36 kB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.2972, allocations: 24.12 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.298, allocations: 450.1 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.298, allocations: 0 / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.298, allocations: 8 kB / 443.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.2981, allocations: 15.92 kB / 443.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.2985, allocations: 268.9 kB / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3004, allocations: 1.212 MB / 445.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.3012, allocations: 431.8 kB / 445.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.3016, allocations: 256.4 kB / 445.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.3017, allocations: 11.94 kB / 445.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008957/0.3026, allocations: 0.551 MB / 446.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.983e-06/0.3026, allocations: 0 / 446.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001724/0.3043, allocations: 0.9667 MB / 447.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/0.3045, allocations: 354.1 kB / 447.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.3059, allocations: 0.9772 MB / 448.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.306, allocations: 45.69 kB / 448.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.3063, allocations: 312.9 kB / 449.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3064, allocations: 123.1 kB / 449.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3066, allocations: 90.12 kB / 449.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3068, allocations: 326 kB / 449.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.3072, allocations: 253.9 kB / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.3078, allocations: 0.5393 MB / 450.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.3087, allocations: 0.601 MB / 451 MB, free: 3.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3087, allocations: 0 / 451 MB, free: 3.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001333/0.31, allocations: 0.7886 MB / 451.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3101, allocations: 101.1 kB / 451.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3102, allocations: 11.92 kB / 451.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3102, allocations: 4 kB / 451.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.3104, allocations: 63.91 kB / 452 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.3105, allocations: 12 kB / 452 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.3108, allocations: 55.69 kB / 452 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.3108, allocations: 24 kB / 452.1 MB, free: 2.129 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.0004954/0.3113, allocations: 382.9 kB / 452.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3115, allocations: 91.42 kB / 452.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3126, allocations: 0.6174 MB / 453.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3126, allocations: 4 kB / 453.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3126, allocations: 0 / 453.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3126, allocations: 4.188 kB / 453.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.314, allocations: 0.9376 MB / 454.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.314, allocations: 0 / 454.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.3141, allocations: 35.86 kB / 454.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3141, allocations: 0 / 454.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.3142, allocations: 23.98 kB / 454.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3142, allocations: 0 / 454.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3142, allocations: 8 kB / 454.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.3156, allocations: 0.9248 MB / 455.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.3157, allocations: 87.41 kB / 455.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.3158, allocations: 31.92 kB / 455.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3161, allocations: 19.98 kB / 455.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3162, allocations: 43.94 kB / 455.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.3163, allocations: 23.98 kB / 455.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009723/0.3172, allocations: 0.7021 MB / 456 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3172, allocations: 0 / 456 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006136/0.3179, allocations: 155.8 kB / 456.1 MB, free: 13.88 MB / 366.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.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) * Number of clocked states: 0 () * 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 (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.001851/0.3197, allocations: 0.5204 MB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.321, allocations: 0.7811 MB / 457.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.321, allocations: 0 / 457.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.3216, allocations: 471.6 kB / 457.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.3226, allocations: 180 kB / 458.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.325, allocations: 1.39 MB / 459.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3254, allocations: 346.6 kB / 459.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.3255, allocations: 59.42 kB / 459.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3255, allocations: 0 / 459.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01757/0.3431, allocations: 10.35 MB / 470.2 MB, free: 15.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.846206698101014]