Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Switch2_test.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.001066/0.001066, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.001643/0.001643, allocations: 173 kB / 23.02 MB, free: 1.543 MB / 18.57 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.05/1.05, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02064/0.02064, allocations: 5.069 MB / 265 MB, free: 8.094 MB / 250.7 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo) 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(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 336.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.814e-05, allocations: 2.312 kB / 336.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.004715/0.004743, allocations: 3.885 MB / 340.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.01029, allocations: 4.139 MB / 344.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.01067, allocations: 12 kB / 344.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.01152, allocations: 298.4 kB / 344.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.01448, allocations: 1.444 MB / 345.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.01498, allocations: 227.4 kB / 346.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.01833, allocations: 3.615 MB / 349.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.01906, allocations: 0.5386 MB / 350.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.0206, allocations: 0.9197 MB / 351.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.02169, allocations: 0.8065 MB / 352 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.02194, allocations: 116 kB / 352.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.02371, allocations: 0.9667 MB / 353.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006927/0.02441, allocations: 0.9664 MB / 354.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008363/0.02524, allocations: 0.6 MB / 354.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.02783, allocations: 2.36 MB / 357 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.02784, allocations: 0 / 357 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02784, allocations: 0 / 357 MB, free: 9.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.02788, allocations: 0 / 357 MB, free: 9.164 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003004/0.03088, allocations: 2.475 MB / 359.5 MB, free: 6.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.03093, allocations: 8.031 kB / 359.5 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.0317, allocations: 427.4 kB / 359.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.03348, allocations: 1.479 MB / 361.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/0.03388, allocations: 0.746 MB / 362.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.03398, allocations: 72.38 kB / 362.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.03519, allocations: 0.9193 MB / 363.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.0352, allocations: 4.125 kB / 363.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/0.03527, allocations: 36.11 kB / 363.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.03531, allocations: 37.98 kB / 363.2 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/0.03615, allocations: 0.4998 MB / 363.7 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.0392, allocations: 2.712 MB / 366.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.03957, allocations: 227 kB / 366.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.03983, allocations: 171.7 kB / 366.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.03988, allocations: 7.938 kB / 366.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.04029, allocations: 301.3 kB / 367.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/0.0403, allocations: 0 / 367.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.000999/0.04129, allocations: 0.5864 MB / 367.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.04137, allocations: 140.4 kB / 367.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.04283, allocations: 1.694 MB / 369.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.04287, allocations: 33.7 kB / 369.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.04341, allocations: 0.8991 MB / 370.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.04349, allocations: 91.27 kB / 370.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.04375, allocations: 251.4 kB / 370.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.04391, allocations: 0.516 MB / 371.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.04425, allocations: 237.4 kB / 371.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.04471, allocations: 431.1 kB / 372 MB, free: 9.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.04543, allocations: 351.1 kB / 372.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.04543, allocations: 0 / 372.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009694/0.0464, allocations: 0.7634 MB / 373.1 MB, free: 8.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.04642, allocations: 4.938 kB / 373.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.04643, allocations: 4 kB / 373.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.04646, allocations: 0 / 373.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.04685, allocations: 139.8 kB / 373.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.04686, allocations: 7.938 kB / 373.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.04734, allocations: 111.8 kB / 373.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.04739, allocations: 12 kB / 373.4 MB, free: 8.328 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (switch2.mux.sequenceIn[3],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[1],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 (53): * Single equations (assignments): 50 * Array equations: 3 * 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.0002367/0.04762, allocations: 192.4 kB / 373.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.04778, allocations: 163 kB / 373.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.04791, allocations: 122.5 kB / 373.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.04791, allocations: 4 kB / 373.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.04792, allocations: 48 / 373.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.04792, allocations: 7.922 kB / 373.9 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/0.04892, allocations: 1.094 MB / 374.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.04892, allocations: 0 / 374.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.04919, allocations: 99.91 kB / 375 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.04919, allocations: 0 / 375 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.04922, allocations: 11.98 kB / 375.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.04923, allocations: 3.938 kB / 375.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.04923, allocations: 0 / 375.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.04994, allocations: 0.4938 MB / 375.6 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.05013, allocations: 170.8 kB / 375.7 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.05024, allocations: 8 kB / 375.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.05061, allocations: 91.88 kB / 375.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.05078, allocations: 55.89 kB / 375.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.05083, allocations: 11.98 kB / 375.9 MB, free: 5.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000897/0.05172, allocations: 0.9796 MB / 376.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.05172, allocations: 0 / 376.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001007/0.05273, allocations: 0.5769 MB / 377.4 MB, free: 4.184 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,switch2.count,switch2.mux.sequenceIn[1],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[3]) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007644/0.0535, allocations: 0.5178 MB / 378 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007994/0.0543, allocations: 0.5101 MB / 378.5 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.0543, allocations: 3.938 kB / 378.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.05463, allocations: 227.5 kB / 378.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.05647, allocations: 0.9155 MB / 379.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.05967, allocations: 2.779 MB / 382.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.05997, allocations: 426 kB / 382.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004259/0.06039, allocations: 191.8 kB / 383 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.06069, allocations: 80.48 kB / 383.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06069, allocations: 0 / 383.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Templates: time 0.03439/0.09508, allocations: 32.02 MB / 415.1 MB, free: 14.82 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.Switch2_test.sim & ./StewartPlatform_StewartPlatform.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6329014762304723]