Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 176.5 kB / 15.43 MB, free: 6.203 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.03805/0.03805, allocations: 8.922 MB / 25.1 MB, free: 3.723 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.42/1.42, allocations: 225.7 MB / 253.7 MB, free: 5.207 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.0008342/0.0008343, allocations: 88.72 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.000341, allocations: 8 kB / 370.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 52.55 MB / 422.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003105/0.331, allocations: 1.808 MB / 424.6 MB, free: 46.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3329, allocations: 0.9531 MB / 425.6 MB, free: 45.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.333, allocations: 6.625 kB / 425.6 MB, free: 45.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.3334, allocations: 102.1 kB / 425.7 MB, free: 45.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.3338, allocations: 93.77 kB / 425.8 MB, free: 45.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.3342, allocations: 111.3 kB / 425.9 MB, free: 45.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.3345, allocations: 204.9 kB / 426.1 MB, free: 45.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3347, allocations: 57.47 kB / 426.2 MB, free: 45.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.3349, allocations: 73.67 kB / 426.2 MB, free: 45.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3351, allocations: 102.5 kB / 426.3 MB, free: 45.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.3351, allocations: 8.875 kB / 426.3 MB, free: 45.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3353, allocations: 38.64 kB / 426.4 MB, free: 45.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.3353, allocations: 43.23 kB / 426.4 MB, free: 45.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3355, allocations: 102.9 kB / 426.5 MB, free: 45.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.3358, allocations: 223.8 kB / 426.7 MB, free: 45.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3358, allocations: 0 / 426.7 MB, free: 45.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3359, allocations: 1.094 kB / 426.7 MB, free: 45.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3359, allocations: 0 / 426.7 MB, free: 45.45 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.0006951/0.3366, allocations: 479 kB / 427.2 MB, free: 45.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3366, allocations: 8.781 kB / 427.2 MB, free: 45.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.3367, allocations: 28.06 kB / 427.2 MB, free: 45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.337, allocations: 249.5 kB / 427.5 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.337, allocations: 9.922 kB / 427.5 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.3371, allocations: 18.22 kB / 427.5 MB, free: 44.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3374, allocations: 114.9 kB / 427.6 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3374, allocations: 0.6562 kB / 427.6 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3375, allocations: 6.484 kB / 427.6 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3375, allocations: 2.562 kB / 427.6 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.3377, allocations: 68.69 kB / 427.7 MB, free: 44.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009073/0.3386, allocations: 0.5547 MB / 428.3 MB, free: 44.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3391, allocations: 113 kB / 428.4 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3392, allocations: 36.81 kB / 428.4 MB, free: 44.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3392, allocations: 1.375 kB / 428.4 MB, free: 44.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.3395, allocations: 101.2 kB / 428.5 MB, free: 44.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.3395, allocations: 3.938 kB / 428.5 MB, free: 44.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004017/0.3399, allocations: 146.2 kB / 428.6 MB, free: 43.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.34, allocations: 84.55 kB / 428.7 MB, free: 43.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3403, allocations: 256.3 kB / 429 MB, free: 43.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3403, allocations: 31.17 kB / 429 MB, free: 43.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3404, allocations: 138.6 kB / 429.1 MB, free: 43.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.3405, allocations: 31.58 kB / 429.2 MB, free: 43.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.3405, allocations: 7.938 kB / 429.2 MB, free: 43.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.3405, allocations: 334.4 kB / 429.5 MB, free: 43.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.3406, allocations: 25.48 kB / 429.5 MB, free: 43.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3408, allocations: 62.31 kB / 429.6 MB, free: 43.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.341, allocations: 93.92 kB / 429.7 MB, free: 43.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.341, allocations: 0 / 429.7 MB, free: 43.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002778/0.3413, allocations: 134.6 kB / 429.8 MB, free: 43.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3413, allocations: 4.719 kB / 429.8 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3413, allocations: 1.031 kB / 429.8 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3413, allocations: 3.266 kB / 429.8 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3415, allocations: 27.31 kB / 429.9 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3415, allocations: 6.266 kB / 429.9 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3416, allocations: 20.12 kB / 429.9 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3416, allocations: 4 kB / 429.9 MB, free: 43.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001056/0.3417, allocations: 140.5 kB / 430 MB, free: 42.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.3418, allocations: 22.23 kB / 430 MB, free: 42.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.3418, allocations: 18.36 kB / 430.1 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3419, allocations: 0.6562 kB / 430.1 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3419, allocations: 0.9688 kB / 430.1 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3419, allocations: 4.562 kB / 430.1 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3421, allocations: 250.5 kB / 430.3 MB, free: 42.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3421, allocations: 0 / 430.3 MB, free: 42.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3422, allocations: 14.36 kB / 430.3 MB, free: 42.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3422, allocations: 0.9062 kB / 430.3 MB, free: 42.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3422, allocations: 6.125 kB / 430.3 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3422, allocations: 0 / 430.3 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3423, allocations: 2.141 kB / 430.3 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.3427, allocations: 190 kB / 430.5 MB, free: 42.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.3427, allocations: 96.59 kB / 430.6 MB, free: 42.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.3428, allocations: 10.47 kB / 430.6 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.3429, allocations: 5.953 kB / 430.6 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3429, allocations: 5.422 kB / 430.6 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3429, allocations: 8.844 kB / 430.6 MB, free: 42.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.3432, allocations: 193.5 kB / 430.8 MB, free: 42.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3432, allocations: 0 / 430.8 MB, free: 42.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.3435, allocations: 42.2 kB / 430.9 MB, free: 42.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001036/0.3446, allocations: 477 kB / 431.3 MB, free: 42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3448, allocations: 74.47 kB / 431.4 MB, free: 41.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3448, allocations: 0 / 431.4 MB, free: 41.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.345, allocations: 37.84 kB / 431.5 MB, free: 41.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3454, allocations: 40.02 kB / 431.5 MB, free: 41.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.3462, allocations: 0.5103 MB / 432 MB, free: 41.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.3464, allocations: 0.7365 MB / 432.7 MB, free: 40.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3466, allocations: 17.59 kB / 432.8 MB, free: 40.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.3466, allocations: 26.75 kB / 432.8 MB, free: 40.9 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3466, allocations: 0 / 432.8 MB, free: 40.9 MB / 330.7 MB Notification: Performance of Templates: time 0.006865/0.3535, allocations: 1.989 MB / 434.8 MB, free: 40.69 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)