Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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.001024/0.001024, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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 0.9873/0.9873, allocations: 177.1 MB / 200 MB, free: 5.852 MB / 186.7 MB " [Timeout remaining time 179] 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.00146/0.00146, allocations: 156.7 kB / 256.6 MB, free: 13.15 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02322/0.02322, allocations: 6.659 MB / 319.8 MB, free: 26.5 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.512e-05, allocations: 2.312 kB / 391.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002813/0.002838, allocations: 2.09 MB / 393.7 MB, free: 472 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.004358, allocations: 1.099 MB / 394.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.00446, allocations: 4 kB / 394.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.004796, allocations: 123.4 kB / 394.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.005112, allocations: 159.2 kB / 395.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.005301, allocations: 111.4 kB / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.005519, allocations: 235.1 kB / 395.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.005639, allocations: 33.78 kB / 395.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.005758, allocations: 119.8 kB / 395.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005897, allocations: 107.7 kB / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.005921, allocations: 12 kB / 395.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.006005, allocations: 51.92 kB / 395.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.006068, allocations: 55.77 kB / 395.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.006128, allocations: 55.78 kB / 395.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.006374, allocations: 171.4 kB / 396 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006376, allocations: 3.938 kB / 396 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006377, allocations: 4 kB / 396 MB, free: 14.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.006382, allocations: 4 kB / 396 MB, free: 14.13 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005563/0.006939, allocations: 0.5346 MB / 396.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.006974, allocations: 15.95 kB / 396.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.007031, allocations: 36.8 kB / 396.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.007238, allocations: 189.1 kB / 396.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.007257, allocations: 4.609 kB / 396.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.007292, allocations: 16.33 kB / 396.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.007494, allocations: 152.3 kB / 397 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.007507, allocations: 7.922 kB / 397 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.007522, allocations: 8 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.007531, allocations: 0 / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.00761, allocations: 44.66 kB / 397 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.008221, allocations: 0.6184 MB / 397.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.008363, allocations: 83.17 kB / 397.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.008648, allocations: 23.69 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.008664, allocations: 7.938 kB / 397.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.008771, allocations: 80.91 kB / 397.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.008772, allocations: 0 / 397.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002241/0.008996, allocations: 125.5 kB / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.009024, allocations: 55.41 kB / 398 MB, free: 11.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.009194, allocations: 288.3 kB / 398.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.009207, allocations: 29.7 kB / 398.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.00929, allocations: 202.9 kB / 398.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.009314, allocations: 31.73 kB / 398.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.009353, allocations: 39.36 kB / 398.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.009464, allocations: 0.504 MB / 399.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.009497, allocations: 15.98 kB / 399.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.009549, allocations: 74.16 kB / 399.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.009634, allocations: 90.36 kB / 399.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009636, allocations: 0 / 399.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001424/0.009779, allocations: 141.3 kB / 399.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.00979, allocations: 4 kB / 399.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.009796, allocations: 7.984 kB / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.009811, allocations: 3.938 kB / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.009914, allocations: 27.98 kB / 399.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009919, allocations: 0 / 399.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.009961, allocations: 19.88 kB / 399.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.00997, allocations: 11.94 kB / 399.5 MB, free: 10.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.588e-05/0.01005, allocations: 160.7 kB / 399.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.01007, allocations: 23.84 kB / 399.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01024, allocations: 115.4 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01024, allocations: 7.938 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01025, allocations: 0 / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01025, allocations: 0 / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.01038, allocations: 196.5 kB / 400 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01038, allocations: 0 / 400 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.01045, allocations: 23.98 kB / 400 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01045, allocations: 0 / 400 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01046, allocations: 3.938 kB / 400 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01046, allocations: 7.938 kB / 400 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01046, allocations: 0 / 400 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.01064, allocations: 168.3 kB / 400.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.01066, allocations: 19.8 kB / 400.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01068, allocations: 15.92 kB / 400.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.01071, allocations: 0 / 400.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.01074, allocations: 7.984 kB / 400.2 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01075, allocations: 4 kB / 400.2 MB, free: 9.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.01086, allocations: 209.1 kB / 400.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01086, allocations: 0 / 400.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.01102, allocations: 43.92 kB / 400.5 MB, free: 9.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007836/0.01181, allocations: 387.4 kB / 400.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.01194, allocations: 75.59 kB / 400.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01194, allocations: 0 / 400.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.01199, allocations: 39.61 kB / 401 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.01219, allocations: 40.47 kB / 401 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.01302, allocations: 450.4 kB / 401.4 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.01306, allocations: 79.83 kB / 401.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01311, allocations: 25.45 kB / 401.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.01315, allocations: 16.5 kB / 401.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01315, allocations: 3.938 kB / 401.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of Templates: time 0.003956/0.0171, allocations: 2.15 MB / 403.7 MB, free: 6.184 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1809869161807]