Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Switch2_test.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") translateModel(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 109.7 kB / 16.41 MB, free: 6.504 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.001054/0.001054, allocations: 183.9 kB / 17.35 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02586/0.02586, allocations: 5.225 MB / 296.4 MB, free: 9.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 409.8 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0779/0.07922, allocations: 50.56 MB / 460.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.004032/0.08329, allocations: 3.167 MB / 463.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.08721, allocations: 3.186 MB / 466.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.08739, allocations: 8 kB / 466.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.0881, allocations: 263.2 kB / 466.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.08978, allocations: 0.8024 MB / 467.7 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.09003, allocations: 118.3 kB / 467.8 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009831/0.09102, allocations: 0.8406 MB / 468.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.09169, allocations: 0.546 MB / 469.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.09207, allocations: 346.7 kB / 469.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.09256, allocations: 446.3 kB / 470 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.09267, allocations: 64 kB / 470.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.09409, allocations: 0.8968 MB / 471 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.09446, allocations: 363.1 kB / 471.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.09488, allocations: 425.8 kB / 471.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.09639, allocations: 1.437 MB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09641, allocations: 4 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09641, allocations: 0 / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.09643, allocations: 0 / 473.2 MB, free: 10.69 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002331/0.09877, allocations: 1.365 MB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.09881, allocations: 8.031 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.09992, allocations: 187.8 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.101, allocations: 0.749 MB / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.1013, allocations: 170.1 kB / 475.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.1014, allocations: 32 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.1032, allocations: 0.8448 MB / 476.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1033, allocations: 0 / 476.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.1033, allocations: 16 kB / 476.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1033, allocations: 11.94 kB / 476.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.1059, allocations: 0.9586 MB / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1081, allocations: 1.734 MB / 479.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1093, allocations: 378.2 kB / 479.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.1104, allocations: 372.4 kB / 480 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.1105, allocations: 7.984 kB / 480 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.1117, allocations: 455.1 kB / 480.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 5.07e-06/0.1117, allocations: 96 / 480.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00354/0.1153, allocations: 1.131 MB / 481.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.1154, allocations: 166.2 kB / 481.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.1168, allocations: 1.052 MB / 482.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.1168, allocations: 37.7 kB / 482.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.1171, allocations: 368.2 kB / 483.2 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.1172, allocations: 47.7 kB / 483.2 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.1173, allocations: 45.7 kB / 483.3 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1174, allocations: 310 kB / 483.6 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.1186, allocations: 371.6 kB / 483.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.1197, allocations: 442.4 kB / 484.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.1218, allocations: 0.651 MB / 485 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1218, allocations: 0 / 485 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002326/0.1241, allocations: 0.8127 MB / 485.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1242, allocations: 7.938 kB / 485.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1242, allocations: 4 kB / 485.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1242, allocations: 0 / 485.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.1248, allocations: 123.9 kB / 486 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1248, allocations: 11.92 kB / 486 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/0.1256, allocations: 135.5 kB / 486.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.1256, allocations: 4 kB / 486.1 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (switch2.count,$PRE.switch2.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0003644/0.126, allocations: 319.1 kB / 486.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1261, allocations: 75.48 kB / 486.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1262, allocations: 78.94 kB / 486.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1262, allocations: 0 / 486.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1262, allocations: 0 / 486.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1264, allocations: 152.6 kB / 486.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1265, allocations: 4 kB / 486.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000801/0.1273, allocations: 119.8 kB / 486.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.1275, allocations: 47.94 kB / 486.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002685/0.1302, allocations: 0.8847 MB / 487.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002363/0.1326, allocations: 0.9467 MB / 488.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001121/0.1337, allocations: 391.2 kB / 489.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001061/0.1348, allocations: 0.7683 MB / 489.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.1348, allocations: 4 kB / 489.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.1372, allocations: 0.7279 MB / 490.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of SimCode: time 0.002548/0.1397, allocations: 1.967 MB / 492.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of Templates: time 0.02349/0.1632, allocations: 16.4 MB / 0.497 GB, free: 6.598 MB / 382.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Switch2_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Switch2_test.sim & ./DeltaRobot_DeltaRobot.Tests.Switch2_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe 2>&1)