Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009605/0.0009606, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007294/0.0007294, allocations: 96.75 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3417/0.3417, allocations: 45.01 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3312, allocations: 63.1 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.003636/0.3349, allocations: 3.935 MB / 0.5252 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.3372, allocations: 1.698 MB / 0.5269 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.3376, allocations: 17.16 kB / 0.5269 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.3382, allocations: 256.4 kB / 0.5271 GB, free: 34.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.3384, allocations: 135.2 kB / 0.5273 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3389, allocations: 232.1 kB / 0.5275 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.3394, allocations: 0.7863 MB / 0.5282 GB, free: 33.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.3398, allocations: 355.6 kB / 0.5286 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3401, allocations: 235.4 kB / 0.5288 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.3403, allocations: 273.3 kB / 0.5291 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.3404, allocations: 32.81 kB / 0.5291 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.293e-05/0.3405, allocations: 30.59 kB / 0.5291 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.3405, allocations: 110.8 kB / 0.5292 GB, free: 33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3407, allocations: 343.4 kB / 0.5296 GB, free: 32.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.3413, allocations: 0.8369 MB / 0.5304 GB, free: 32.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3413, allocations: 0 / 0.5304 GB, free: 32.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3413, allocations: 0 / 0.5304 GB, free: 32.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3413, allocations: 0 / 0.5304 GB, free: 32.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001151/0.3424, allocations: 0.9018 MB / 0.5313 GB, free: 31.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3425, allocations: 9.094 kB / 0.5313 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3426, allocations: 89.69 kB / 0.5314 GB, free: 31.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.3431, allocations: 0.49 MB / 0.5318 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3432, allocations: 48.47 kB / 0.5319 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.3432, allocations: 62.38 kB / 0.5319 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/0.3441, allocations: 0.6032 MB / 0.5325 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.3442, allocations: 6.094 kB / 0.5325 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.3442, allocations: 25.59 kB / 0.5326 GB, free: 31.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3442, allocations: 15.16 kB / 0.5326 GB, free: 31.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.345, allocations: 442.3 kB / 0.533 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.3476, allocations: 2.185 MB / 0.5351 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.3487, allocations: 0.6194 MB / 0.5357 GB, free: 29.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.349, allocations: 178.8 kB / 0.5359 GB, free: 29.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.349, allocations: 2.625 kB / 0.5359 GB, free: 29.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3491, allocations: 37.8 kB / 0.5359 GB, free: 29.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.3491, allocations: 3.938 kB / 0.5359 GB, free: 29.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002007/0.3511, allocations: 1.186 MB / 0.5371 GB, free: 28.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.3511, allocations: 61.22 kB / 0.5372 GB, free: 28.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.3518, allocations: 0.5141 MB / 0.5377 GB, free: 28.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3518, allocations: 34.59 kB / 0.5377 GB, free: 28.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.352, allocations: 345.4 kB / 0.538 GB, free: 27.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.3521, allocations: 123.3 kB / 0.5381 GB, free: 27.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.3521, allocations: 7.062 kB / 0.5382 GB, free: 27.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.3522, allocations: 363.1 kB / 0.5385 GB, free: 27.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.3525, allocations: 151.1 kB / 0.5386 GB, free: 27.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.3528, allocations: 227.2 kB / 0.5389 GB, free: 27.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.3534, allocations: 388.4 kB / 0.5392 GB, free: 26.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3534, allocations: 7.938 kB / 0.5392 GB, free: 26.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007948/0.3542, allocations: 0.4893 MB / 0.5397 GB, free: 26.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.3543, allocations: 159.1 kB / 0.5399 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3543, allocations: 2.812 kB / 0.5399 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.3545, allocations: 27.08 kB / 0.5399 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.3549, allocations: 106.3 kB / 0.54 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000713/0.3556, allocations: 1.294 MB / 0.5413 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.3559, allocations: 35.78 kB / 0.5413 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.3559, allocations: 10.72 kB / 0.5413 GB, free: 25.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.3559, allocations: 5.469 kB / 0.5413 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000587/0.3565, allocations: 361.6 kB / 0.5417 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3565, allocations: 6.094 kB / 0.5417 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-05/0.3566, allocations: 24.77 kB / 0.5417 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.357, allocations: 92.73 kB / 0.5418 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006738/0.3576, allocations: 1.281 MB / 0.543 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.3579, allocations: 14.31 kB / 0.543 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3579, allocations: 16.28 kB / 0.5431 GB, free: 23.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.3582, allocations: 271.7 kB / 0.5433 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.3583, allocations: 56.41 kB / 0.5434 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3584, allocations: 59.44 kB / 0.5434 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.3584, allocations: 3.375 kB / 0.5434 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.3584, allocations: 0.7031 kB / 0.5434 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3584, allocations: 2.562 kB / 0.5434 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.3602, allocations: 1.093 MB / 0.5445 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3602, allocations: 1.062 kB / 0.5445 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.3606, allocations: 82.5 kB / 0.5446 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.412e-05/0.3607, allocations: 18.38 kB / 0.5446 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3607, allocations: 11.95 kB / 0.5446 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006123/0.3613, allocations: 1.293 MB / 0.5459 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3613, allocations: 1.312 kB / 0.5459 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3624, allocations: 0.6638 MB / 0.5465 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.3625, allocations: 134.1 kB / 0.5466 GB, free: 20.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.3626, allocations: 15.28 kB / 0.5467 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.3629, allocations: 31.14 kB / 0.5467 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.363, allocations: 17 kB / 0.5467 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.363, allocations: 12.38 kB / 0.5467 GB, free: 20.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004866/0.3635, allocations: 362.7 kB / 0.5471 GB, free: 20.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3635, allocations: 4 kB / 0.5471 GB, free: 20.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.3641, allocations: 177.8 kB / 0.5472 GB, free: 20.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.3643, allocations: 114.5 kB / 0.5473 GB, free: 20.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.3655, allocations: 0.7596 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3655, allocations: 0 / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.3659, allocations: 289.1 kB / 0.5484 GB, free: 20.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.3666, allocations: 97 kB / 0.5485 GB, free: 20 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.3688, allocations: 1.657 MB / 0.5501 GB, free: 18.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3692, allocations: 0.8915 MB / 0.5509 GB, free: 18.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.3694, allocations: 63.11 kB / 0.551 GB, free: 18.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3695, allocations: 38.48 kB / 0.551 GB, free: 18.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3696, allocations: 0 / 0.551 GB, free: 18.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01035/0.3799, allocations: 5.166 MB / 0.5561 GB, free: 16.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1)