Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 175.8 kB / 15.43 MB, free: 6.199 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.04003/0.04003, allocations: 8.924 MB / 25.1 MB, free: 3.699 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.374/1.374, allocations: 225.7 MB / 253.7 MB, free: 5.203 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.0008949/0.0008947, allocations: 96 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0002999, allocations: 8 kB / 370.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2622, allocations: 52.55 MB / 422.8 MB, free: 47.86 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.001859/0.2642, allocations: 1.485 MB / 424.3 MB, free: 46.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006152/0.2648, allocations: 436.5 kB / 424.7 MB, free: 46.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.2649, allocations: 2.406 kB / 424.7 MB, free: 46.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.103e-05/0.265, allocations: 19.62 kB / 424.8 MB, free: 46.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.2651, allocations: 30.3 kB / 424.8 MB, free: 46.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.2652, allocations: 24.02 kB / 424.8 MB, free: 46.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2653, allocations: 117.3 kB / 424.9 MB, free: 46.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2655, allocations: 34.5 kB / 425 MB, free: 46.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.2656, allocations: 38.25 kB / 425 MB, free: 46.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.2657, allocations: 42.23 kB / 425 MB, free: 46.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.2657, allocations: 7.469 kB / 425 MB, free: 46.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.2657, allocations: 5.344 kB / 425.1 MB, free: 46.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.2658, allocations: 18.2 kB / 425.1 MB, free: 46.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.2658, allocations: 83.94 kB / 425.2 MB, free: 46.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.266, allocations: 111.7 kB / 425.3 MB, free: 46.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.266, allocations: 0 / 425.3 MB, free: 46.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.266, allocations: 0 / 425.3 MB, free: 46.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.266, allocations: 1.5 kB / 425.3 MB, free: 46.21 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004034/0.2664, allocations: 398.7 kB / 425.7 MB, free: 45.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2665, allocations: 9.344 kB / 425.7 MB, free: 45.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.2665, allocations: 16.05 kB / 425.7 MB, free: 45.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2667, allocations: 194.5 kB / 425.9 MB, free: 45.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2668, allocations: 13.61 kB / 425.9 MB, free: 45.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.2668, allocations: 12.09 kB / 425.9 MB, free: 45.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.267, allocations: 101.5 kB / 426 MB, free: 45.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.267, allocations: 2.016 kB / 426 MB, free: 45.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.267, allocations: 6 kB / 426 MB, free: 45.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.267, allocations: 2.531 kB / 426 MB, free: 45.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2672, allocations: 58.11 kB / 426.1 MB, free: 45.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.2679, allocations: 0.5076 MB / 426.6 MB, free: 45.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.268, allocations: 46.48 kB / 426.6 MB, free: 45.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.268, allocations: 17.83 kB / 426.6 MB, free: 45.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.268, allocations: 0.6562 kB / 426.6 MB, free: 45.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.268, allocations: 32.64 kB / 426.7 MB, free: 45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2681, allocations: 3.469 kB / 426.7 MB, free: 45 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.2682, allocations: 66.84 kB / 426.7 MB, free: 44.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2683, allocations: 52.2 kB / 426.8 MB, free: 44.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2684, allocations: 141 kB / 426.9 MB, free: 44.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.2684, allocations: 26.89 kB / 426.9 MB, free: 44.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.2684, allocations: 123.6 kB / 427.1 MB, free: 44.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.2684, allocations: 10.44 kB / 427.1 MB, free: 44.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.2685, allocations: 5.125 kB / 427.1 MB, free: 44.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.2685, allocations: 327.7 kB / 427.4 MB, free: 44.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.2686, allocations: 11.66 kB / 427.4 MB, free: 44.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.2686, allocations: 34.78 kB / 427.4 MB, free: 44.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.2687, allocations: 46.48 kB / 427.5 MB, free: 44.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2687, allocations: 4.609 kB / 427.5 MB, free: 44.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001122/0.2688, allocations: 78.19 kB / 427.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2688, allocations: 7.109 kB / 427.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2688, allocations: 0 / 427.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2688, allocations: 1.281 kB / 427.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.2689, allocations: 14.98 kB / 427.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.269, allocations: 5.125 kB / 427.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.269, allocations: 10.28 kB / 427.6 MB, free: 44.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.269, allocations: 6.797 kB / 427.6 MB, free: 44.15 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 5.937e-05/0.2691, allocations: 127.4 kB / 427.7 MB, free: 44.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2691, allocations: 4.359 kB / 427.7 MB, free: 44.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.2692, allocations: 10.52 kB / 427.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2692, allocations: 1.281 kB / 427.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2692, allocations: 1.172 kB / 427.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2692, allocations: 1.5 kB / 427.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2693, allocations: 193.7 kB / 427.9 MB, free: 43.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2693, allocations: 2.531 kB / 428 MB, free: 43.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.2694, allocations: 13.64 kB / 428 MB, free: 43.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2694, allocations: 192 / 428 MB, free: 43.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2694, allocations: 8.906 kB / 428 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2694, allocations: 0 / 428 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2695, allocations: 4.781 kB / 428 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.2696, allocations: 173.3 kB / 428.1 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.2696, allocations: 79.86 kB / 428.2 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.2696, allocations: 6.672 kB / 428.2 MB, free: 43.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.2697, allocations: 4.484 kB / 428.2 MB, free: 43.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.2698, allocations: 4.766 kB / 428.2 MB, free: 43.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2698, allocations: 2.656 kB / 428.2 MB, free: 43.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.448e-05/0.2698, allocations: 112.1 kB / 428.4 MB, free: 43.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2698, allocations: 1.812 kB / 428.4 MB, free: 43.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.2701, allocations: 23.97 kB / 428.4 MB, free: 43.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.791e-05/0.2701, allocations: 98.48 kB / 428.5 MB, free: 43.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.2702, allocations: 35.14 kB / 428.5 MB, free: 43.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2702, allocations: 4.125 kB / 428.5 MB, free: 43.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.2703, allocations: 13.27 kB / 428.5 MB, free: 43.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2705, allocations: 18.64 kB / 428.5 MB, free: 43.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.271, allocations: 347.9 kB / 428.9 MB, free: 43.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2712, allocations: 0.7012 MB / 429.6 MB, free: 42.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.2712, allocations: 7.719 kB / 429.6 MB, free: 42.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.2713, allocations: 10.84 kB / 429.6 MB, free: 42.36 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2713, allocations: 0 / 429.6 MB, free: 42.36 MB / 330.7 MB Notification: Performance of Templates: time 0.00263/0.2739, allocations: 0.6684 MB / 430.3 MB, free: 42.28 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)