Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009296, allocations: 178.9 kB / 15.43 MB, free: 5.789 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.04122/0.04122, allocations: 8.92 MB / 25.1 MB, free: 3.578 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.7 MB / 253.7 MB, free: 5.191 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009262/0.000926, allocations: 97.7 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003212, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2497, allocations: 52.55 MB / 422.8 MB, free: 47.9 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02014/0.2699, allocations: 22.37 MB / 445.2 MB, free: 31.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2851, allocations: 9.892 MB / 455.1 MB, free: 23.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006549/0.2917, allocations: 156.7 kB / 455.3 MB, free: 23.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004723/0.2965, allocations: 1.536 MB / 456.8 MB, free: 21.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007661/0.3042, allocations: 3.619 MB / 460.4 MB, free: 17.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.308, allocations: 1.908 MB / 462.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007867/0.3158, allocations: 7.378 MB / 469.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02184/0.3377, allocations: 17.57 MB / 487.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/0.3424, allocations: 2.748 MB / 490 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00534/0.3477, allocations: 3.365 MB / 493.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.3492, allocations: 428 kB / 493.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.3521, allocations: 0.7847 MB / 494.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.3534, allocations: 1.37 MB / 496 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003637/0.3571, allocations: 3.283 MB / 499.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.3693, allocations: 13.58 MB / 0.5008 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3693, allocations: 0 / 0.5008 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3693, allocations: 0 / 0.5008 GB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000301/0.3696, allocations: 0 / 0.5008 GB, free: 11.73 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01874/0.3884, allocations: 7.389 MB / 0.508 GB, free: 4.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3884, allocations: 8.031 kB / 0.508 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02269/0.4111, allocations: 4.405 MB / 0.5123 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.4214, allocations: 4.523 MB / 0.5167 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005894/0.422, allocations: 489.1 kB / 0.5172 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.4244, allocations: 0.6327 MB / 0.5178 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/0.4491, allocations: 10.29 MB / 0.5279 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003241/0.4495, allocations: 19.89 kB / 0.5279 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/0.4515, allocations: 264 kB / 0.5281 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004651/0.4519, allocations: 413.7 kB / 0.5285 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.4712, allocations: 9.81 MB / 0.5381 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2571/0.7284, allocations: 35.77 MB / 0.573 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7459, allocations: 20.64 MB / 0.5932 GB, free: 83.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/0.75, allocations: 2.303 MB / 0.5954 GB, free: 82.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.7503, allocations: 228.6 kB / 0.5957 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.7504, allocations: 64.39 kB / 0.5957 GB, free: 82.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.39e-06/0.7504, allocations: 0 / 0.5957 GB, free: 82.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01877/0.7692, allocations: 10.85 MB / 0.6063 GB, free: 77.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.7692, allocations: 79.84 kB / 0.6064 GB, free: 77.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.7735, allocations: 2.998 MB / 0.6093 GB, free: 76.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.7736, allocations: 73.48 kB / 0.6094 GB, free: 76.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.7748, allocations: 2.865 MB / 0.6122 GB, free: 73.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/0.7755, allocations: 1.033 MB / 0.6132 GB, free: 72.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.7757, allocations: 96.16 kB / 0.6133 GB, free: 72.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7759, allocations: 0.4886 MB / 0.6138 GB, free: 72.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.7783, allocations: 2.01 MB / 0.6157 GB, free: 71.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/0.7813, allocations: 3.708 MB / 0.6194 GB, free: 67.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/0.7871, allocations: 6.022 MB / 0.6252 GB, free: 61.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-05/0.7871, allocations: 16 kB / 0.6252 GB, free: 61.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009156/0.7963, allocations: 6.591 MB / 0.6317 GB, free: 55.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.7964, allocations: 28 kB / 0.6317 GB, free: 55.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.169e-05/0.7964, allocations: 59.98 kB / 0.6318 GB, free: 55.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.7981, allocations: 0.6651 MB / 0.6324 GB, free: 54.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/0.8015, allocations: 1.065 MB / 0.6335 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.8084, allocations: 5.797 MB / 0.6391 GB, free: 47.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.8119, allocations: 291.1 kB / 0.6394 GB, free: 47.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005674/0.8125, allocations: 228 kB / 0.6396 GB, free: 47.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * 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 {(8,28,67.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003943/0.8164, allocations: 2.319 MB / 0.6419 GB, free: 44.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009602/0.8174, allocations: 320.1 kB / 0.6422 GB, free: 44.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008199/0.8256, allocations: 4.615 MB / 0.6467 GB, free: 39.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.8257, allocations: 29.75 kB / 0.6467 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.8257, allocations: 12 kB / 0.6467 GB, free: 39.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/0.8257, allocations: 15.94 kB / 0.6467 GB, free: 39.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/0.8441, allocations: 11.24 MB / 0.6577 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.8441, allocations: 4 kB / 0.6577 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/0.8463, allocations: 0.5304 MB / 0.6582 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.8477, allocations: 0.5621 MB / 0.6588 GB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.848, allocations: 71.92 kB / 0.6589 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/0.8541, allocations: 5.041 MB / 0.6638 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.8542, allocations: 7.938 kB / 0.6638 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009901/0.8641, allocations: 6.549 MB / 0.6702 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/0.866, allocations: 0.7507 MB / 0.6709 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008615/0.8669, allocations: 59.98 kB / 0.671 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/0.8689, allocations: 143.9 kB / 0.6711 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.8694, allocations: 213.9 kB / 0.6713 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/0.8696, allocations: 91.97 kB / 0.6714 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003556/0.8731, allocations: 1.989 MB / 0.6734 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.8731, allocations: 0 / 0.6734 GB, free: 11.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005321/0.8785, allocations: 1.175 MB / 0.6745 GB, free: 10.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007631/0.8793, allocations: 230 kB / 0.6747 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008281/0.8876, allocations: 5.005 MB / 0.6796 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.8876, allocations: 4 kB / 0.6796 GB, free: 5.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/0.8913, allocations: 2.246 MB / 0.6818 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/0.8964, allocations: 0.6115 MB / 0.6824 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.9187, allocations: 13.87 MB / 0.6959 GB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005464/0.9242, allocations: 4.15 MB / 0.7 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004368/0.9286, allocations: 1.326 MB / 0.7013 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/0.9295, allocations: 275.4 kB / 0.7016 GB, free: 14.83 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9295, allocations: 0 / 0.7016 GB, free: 14.83 MB / 458.7 MB Notification: Performance of Templates: time 0.2665/1.196, allocations: 45.34 MB / 0.7458 GB, free: 149.9 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1)