Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001355, allocations: 182 kB / 15.43 MB, free: 5.77 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.04119/0.04119, allocations: 8.918 MB / 25.1 MB, free: 3.555 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.372/1.372, allocations: 225.7 MB / 253.7 MB, free: 5.215 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.0007588/0.0007588, allocations: 94.42 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2636, allocations: 52.55 MB / 422.8 MB, free: 47.9 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.00275/0.2664, allocations: 1.821 MB / 424.7 MB, free: 46.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.2687, allocations: 1.613 MB / 426.3 MB, free: 45.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2689, allocations: 2.156 kB / 426.3 MB, free: 45.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.2693, allocations: 99.31 kB / 426.4 MB, free: 45.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.2696, allocations: 98.45 kB / 426.5 MB, free: 45.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.2701, allocations: 110.6 kB / 426.6 MB, free: 45.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.2704, allocations: 214.4 kB / 426.8 MB, free: 45.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2706, allocations: 56 kB / 426.8 MB, free: 45.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2707, allocations: 84.66 kB / 426.9 MB, free: 45.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.2712, allocations: 99.08 kB / 427 MB, free: 45.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.2712, allocations: 6.562 kB / 427 MB, free: 45.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.2714, allocations: 55.23 kB / 427.1 MB, free: 45.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.2715, allocations: 49.83 kB / 427.1 MB, free: 45.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.2716, allocations: 102.8 kB / 427.2 MB, free: 44.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.272, allocations: 237.9 kB / 427.5 MB, free: 44.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.272, allocations: 1.344 kB / 427.5 MB, free: 44.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.272, allocations: 0.7188 kB / 427.5 MB, free: 44.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.272, allocations: 0 / 427.5 MB, free: 44.86 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.0006425/0.2726, allocations: 498.2 kB / 427.9 MB, free: 44.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2727, allocations: 9 kB / 428 MB, free: 44.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.2728, allocations: 23.98 kB / 428 MB, free: 44.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.273, allocations: 247.6 kB / 428.2 MB, free: 44.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.273, allocations: 11.02 kB / 428.2 MB, free: 44.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2731, allocations: 14.62 kB / 428.2 MB, free: 44.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.2734, allocations: 144.6 kB / 428.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2734, allocations: 0.5625 kB / 428.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2734, allocations: 5.375 kB / 428.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2734, allocations: 2.75 kB / 428.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2736, allocations: 74.67 kB / 428.5 MB, free: 44.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.2743, allocations: 0.5482 MB / 429 MB, free: 43.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.2747, allocations: 107.6 kB / 429.1 MB, free: 43.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2748, allocations: 41.97 kB / 429.2 MB, free: 43.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2749, allocations: 2.406 kB / 429.2 MB, free: 43.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2751, allocations: 101 kB / 429.3 MB, free: 43.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.2751, allocations: 0 / 429.3 MB, free: 43.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000334/0.2755, allocations: 147 kB / 429.4 MB, free: 43.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2755, allocations: 108.1 kB / 429.5 MB, free: 43.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.2758, allocations: 271.1 kB / 429.8 MB, free: 43.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2758, allocations: 26.95 kB / 429.8 MB, free: 43.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.2759, allocations: 140.1 kB / 429.9 MB, free: 42.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.2759, allocations: 30.62 kB / 430 MB, free: 42.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2759, allocations: 7.938 kB / 430 MB, free: 42.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.276, allocations: 334.7 kB / 430.3 MB, free: 42.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.2761, allocations: 26.62 kB / 430.3 MB, free: 42.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.2762, allocations: 71.81 kB / 430.4 MB, free: 42.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2763, allocations: 86.2 kB / 430.5 MB, free: 42.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2763, allocations: 0 / 430.5 MB, free: 42.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002237/0.2765, allocations: 145.9 kB / 430.6 MB, free: 42.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2766, allocations: 5.031 kB / 430.6 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2766, allocations: 1.406 kB / 430.6 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2766, allocations: 2.297 kB / 430.6 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2767, allocations: 23.02 kB / 430.7 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2767, allocations: 10.66 kB / 430.7 MB, free: 42.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.2768, allocations: 20.47 kB / 430.7 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2768, allocations: 5.25 kB / 430.7 MB, free: 42.34 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 9.723e-05/0.2769, allocations: 140 kB / 430.8 MB, free: 42.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.277, allocations: 21.8 kB / 430.9 MB, free: 42.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.277, allocations: 23.78 kB / 430.9 MB, free: 42.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.277, allocations: 1.375 kB / 430.9 MB, free: 42.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.277, allocations: 0 / 430.9 MB, free: 42.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2771, allocations: 0.7031 kB / 430.9 MB, free: 42.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2772, allocations: 253.2 kB / 431.1 MB, free: 41.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2772, allocations: 0 / 431.1 MB, free: 41.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2773, allocations: 14.3 kB / 431.1 MB, free: 41.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2773, allocations: 0 / 431.1 MB, free: 41.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2774, allocations: 14.02 kB / 431.2 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2774, allocations: 1.375 kB / 431.2 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2774, allocations: 0.6562 kB / 431.2 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2777, allocations: 187.3 kB / 431.3 MB, free: 41.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.2777, allocations: 97.41 kB / 431.4 MB, free: 41.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2778, allocations: 5.312 kB / 431.4 MB, free: 41.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.2778, allocations: 10.27 kB / 431.4 MB, free: 41.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.2779, allocations: 6.938 kB / 431.5 MB, free: 41.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2779, allocations: 7.406 kB / 431.5 MB, free: 41.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.2781, allocations: 199.7 kB / 431.7 MB, free: 41.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2781, allocations: 0 / 431.7 MB, free: 41.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.2783, allocations: 44.39 kB / 431.7 MB, free: 41.6 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.0008936/0.2792, allocations: 0.5293 MB / 432.2 MB, free: 41.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2795, allocations: 80.22 kB / 432.3 MB, free: 41.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2795, allocations: 0 / 432.3 MB, free: 41.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.2795, allocations: 35.86 kB / 432.3 MB, free: 41.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.2799, allocations: 35.88 kB / 432.4 MB, free: 41.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.2807, allocations: 0.5143 MB / 432.9 MB, free: 40.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2809, allocations: 0.733 MB / 433.6 MB, free: 40.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.441e-05/0.281, allocations: 21.34 kB / 433.6 MB, free: 40.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.281, allocations: 26.33 kB / 433.7 MB, free: 40.19 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.281, allocations: 0 / 433.7 MB, free: 40.19 MB / 330.7 MB Notification: Performance of Templates: time 0.00566/0.2867, allocations: 2.283 MB / 436 MB, free: 39.84 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)