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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.962/0.962, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.559e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.006631/0.006656, allocations: 2.56 MB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006374/0.01303, allocations: 1.901 MB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.0144, allocations: 7.938 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.01554, allocations: 0.5529 MB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009764/0.01651, allocations: 0.5173 MB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.01769, allocations: 0.5455 MB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009656/0.01865, allocations: 0.8219 MB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.01886, allocations: 74.14 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.01997, allocations: 0.5241 MB / 280.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.02036, allocations: 315.2 kB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.02041, allocations: 36 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.02078, allocations: 231.6 kB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.02095, allocations: 207.3 kB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.02111, allocations: 159.4 kB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007658/0.02187, allocations: 0.6421 MB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.02188, allocations: 0 / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02188, allocations: 4 kB / 282 MB, free: 8.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.02189, allocations: 3.938 kB / 282 MB, free: 8.352 MB / 266.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.001394/0.02328, allocations: 1.25 MB / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.02334, allocations: 15.98 kB / 283.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.0236, allocations: 100.4 kB / 283.3 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.0243, allocations: 0.6068 MB / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.02433, allocations: 20.38 kB / 284 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.02436, allocations: 28.38 kB / 284 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.02477, allocations: 344.4 kB / 284.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.02478, allocations: 192 / 284.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.02481, allocations: 16.3 kB / 284.3 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.02483, allocations: 11.94 kB / 284.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.02503, allocations: 173 kB / 284.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.02629, allocations: 1.5 MB / 286 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.02669, allocations: 333.9 kB / 286.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.02686, allocations: 187.8 kB / 286.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.02689, allocations: 8 kB / 286.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.02734, allocations: 0.4937 MB / 287 MB, free: 2.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.02734, allocations: 3.938 kB / 287 MB, free: 2.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009026/0.02824, allocations: 0.7501 MB / 287.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.02837, allocations: 328.4 kB / 288.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.02903, allocations: 0.7455 MB / 288.9 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.02907, allocations: 45.69 kB / 288.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.0293, allocations: 379.6 kB / 289.3 MB, free: 472 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.02939, allocations: 111.2 kB / 289.4 MB, free: 360 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.02951, allocations: 99.83 kB / 289.5 MB, free: 252 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.02969, allocations: 0.5042 MB / 290 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.02987, allocations: 150.6 kB / 290.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.03023, allocations: 466.5 kB / 290.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.0307, allocations: 0.489 MB / 291.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.03071, allocations: 0 / 291.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007168/0.03142, allocations: 0.6199 MB / 291.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.0315, allocations: 97.09 kB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.03151, allocations: 4.281 kB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.03153, allocations: 8 kB / 291.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.03173, allocations: 63.84 kB / 291.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.03174, allocations: 7.984 kB / 291.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.03192, allocations: 51.7 kB / 291.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.03194, allocations: 20 kB / 291.9 MB, free: 13.46 MB / 282.7 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.00025/0.03219, allocations: 313.7 kB / 292.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.03229, allocations: 107.5 kB / 292.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.03283, allocations: 0.5027 MB / 292.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.03283, allocations: 4.234 kB / 292.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.03284, allocations: 3.938 kB / 292.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.03285, allocations: 7.969 kB / 292.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.03369, allocations: 0.9147 MB / 293.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.03369, allocations: 4 kB / 293.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.03381, allocations: 23.94 kB / 293.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.03382, allocations: 7.922 kB / 293.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.03386, allocations: 24 kB / 293.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.03386, allocations: 0 / 293.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.03387, allocations: 3.984 kB / 293.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.03469, allocations: 0.8303 MB / 294.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.03477, allocations: 83.41 kB / 294.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.03485, allocations: 27.92 kB / 294.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.03499, allocations: 19.98 kB / 294.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.0351, allocations: 43.94 kB / 294.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.03513, allocations: 20 kB / 294.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004202/0.03555, allocations: 486.9 kB / 295.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.03555, allocations: 0 / 295.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.03602, allocations: 151.8 kB / 295.5 MB, free: 9.719 MB / 282.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 22 * 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.001037/0.03706, allocations: 481 kB / 296 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.03771, allocations: 0.6188 MB / 296.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03771, allocations: 0 / 296.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.03799, allocations: 414.6 kB / 297 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.03854, allocations: 194.3 kB / 297.2 MB, free: 8.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.03982, allocations: 1.106 MB / 298.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.03995, allocations: 169.8 kB / 298.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.04013, allocations: 100.8 kB / 298.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.04023, allocations: 60.48 kB / 298.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.04024, allocations: 0 / 298.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of Templates: time 0.118/0.1582, allocations: 10.2 MB / 308.8 MB, free: 37.67 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.091900981962681]