Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BLDC_BLDC.Examples.SMPM_NominalOperation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BLDC with version 1.9.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo) Running command: translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01087/0.01087, allocations: 2.625 MB / 17.88 MB, free: 3.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007698/0.00077, allocations: 177.4 kB / 19.36 MB, free: 2.461 MB / 13.93 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.455/1.455, allocations: 225.7 MB / 246.4 MB, free: 5.234 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.000796/0.0007962, allocations: 100.6 kB / 298.2 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004504, allocations: 12 kB / 359.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 51.01 MB / 410.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.009556/0.2211, allocations: 12.5 MB / 423.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007702/0.2288, allocations: 6.11 MB / 429.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.231, allocations: 79.69 kB / 429.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.2338, allocations: 0.9244 MB / 430.6 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.2373, allocations: 1.399 MB / 432 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.239, allocations: 1.086 MB / 433 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003272/0.2423, allocations: 3.231 MB / 436.3 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.2446, allocations: 2.196 MB / 438.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2463, allocations: 1.038 MB / 439.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.2482, allocations: 1.322 MB / 440.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003425/0.2485, allocations: 160 kB / 441 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.2496, allocations: 363.7 kB / 441.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.2502, allocations: 0.5953 MB / 441.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.2517, allocations: 1.397 MB / 443.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.2562, allocations: 4.796 MB / 448.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2562, allocations: 0 / 448.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.2562, allocations: 4 kB / 448.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.2563, allocations: 3.938 kB / 448.1 MB, free: 5.875 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 673 * Number of variables: 673 Notification: Performance of Generate backend data structure: time 0.006486/0.2628, allocations: 2.961 MB / 451.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2629, allocations: 12.03 kB / 451.1 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.2656, allocations: 0.5594 MB / 451.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.2692, allocations: 1.792 MB / 453.5 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.2694, allocations: 189.5 kB / 453.6 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/0.2698, allocations: 264.1 kB / 453.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/0.2753, allocations: 3.258 MB / 457.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.836e-05/0.2754, allocations: 7.906 kB / 457.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.2757, allocations: 104 kB / 457.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.2758, allocations: 125 kB / 457.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.2803, allocations: 2.69 MB / 460.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.2954, allocations: 11.01 MB / 471.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.2986, allocations: 3.603 MB / 474.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.2999, allocations: 0.8387 MB / 475.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003687/0.3036, allocations: 2.404 MB / 477.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3036, allocations: 39.22 kB / 478 MB, free: 6.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 3.837e-06/0.3036, allocations: 3.984 kB / 478 MB, free: 6.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=117): time 0.009732/0.3134, allocations: 5.278 MB / 483.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006645/0.32, allocations: 4.997 MB / 488.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.3222, allocations: 1.513 MB / 489.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.3223, allocations: 45.7 kB / 489.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/0.3231, allocations: 1.247 MB / 491.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.3234, allocations: 402.2 kB / 491.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.3235, allocations: 32 kB / 491.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3237, allocations: 369.8 kB / 491.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/0.3245, allocations: 0.6052 MB / 492.4 MB, free: 8.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.3257, allocations: 1.13 MB / 493.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.3278, allocations: 1.894 MB / 495.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.3279, allocations: 4 kB / 495.5 MB, free: 4.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002926/0.3308, allocations: 2.005 MB / 497.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3308, allocations: 12 kB / 497.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.3309, allocations: 16 kB / 497.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.3311, allocations: 97.61 kB / 497.6 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.3325, allocations: 395.8 kB / 498 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/0.3325, allocations: 35.86 kB / 498 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.3335, allocations: 87.84 kB / 498.1 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3336, allocations: 71.98 kB / 498.2 MB, free: 1.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (193): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.3348, allocations: 0.8056 MB / 499 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.3351, allocations: 169.9 kB / 499.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.3379, allocations: 1.816 MB / 0.4892 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3379, allocations: 12 kB / 0.4892 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.338, allocations: 4 kB / 0.4892 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.338, allocations: 15.91 kB / 0.4893 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007876/0.3459, allocations: 5.627 MB / 0.4947 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3459, allocations: 4 kB / 0.4948 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.3466, allocations: 179.8 kB / 0.4949 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.3478, allocations: 412.6 kB / 0.4953 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.3478, allocations: 24 kB / 0.4953 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.3539, allocations: 4.74 MB / 0.5 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.228/0.582, allocations: 4.892 MB / 0.5047 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.5865, allocations: 2.75 MB / 0.5074 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000835/0.5874, allocations: 387.5 kB / 0.5078 GB, free: 88.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.5876, allocations: 27.89 kB / 0.5078 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.5884, allocations: 63.3 kB / 0.5079 GB, free: 88.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.5886, allocations: 89.53 kB / 0.508 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.5887, allocations: 33.66 kB / 0.508 GB, free: 88.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001626/0.5903, allocations: 1.024 MB / 0.509 GB, free: 88.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5904, allocations: 0 / 0.509 GB, free: 88.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00195/0.5923, allocations: 0.5026 MB / 0.5095 GB, free: 87.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 ($STATESET1.x) * 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 (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002939/0.5926, allocations: 155 kB / 0.5096 GB, free: 87.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.5954, allocations: 1.708 MB / 0.5113 GB, free: 87.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5955, allocations: 0.5 kB / 0.5113 GB, free: 87.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.5973, allocations: 1.113 MB / 0.5124 GB, free: 86.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.6, allocations: 447.9 kB / 0.5128 GB, free: 86.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/0.608, allocations: 5.91 MB / 0.5186 GB, free: 82.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.6094, allocations: 1.958 MB / 0.5205 GB, free: 81.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001485/0.6109, allocations: 382.8 kB / 0.5209 GB, free: 81.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.6113, allocations: 128.3 kB / 0.521 GB, free: 81.89 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6113, allocations: 0 / 0.521 GB, free: 81.89 MB / 378.7 MB Notification: Performance of Templates: time 0.03883/0.6501, allocations: 25.05 MB / 0.5455 GB, free: 58.75 MB / 378.7 MB make -j1 -f BLDC_BLDC.Examples.SMPM_NominalOperation.makefile (rm -f BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; mkfifo BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; head -c 1048576 < BLDC_BLDC.Examples.SMPM_NominalOperation.pipe >> ../files/BLDC_BLDC.Examples.SMPM_NominalOperation.sim & ./BLDC_BLDC.Examples.SMPM_NominalOperation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1)