Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008654/0.0008655, allocations: 181 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.03948/0.03948, allocations: 8.926 MB / 25.1 MB, free: 3.684 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.363/1.363, 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.000924/0.000924, allocations: 95.7 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002901, allocations: 8 kB / 370.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2494, allocations: 52.55 MB / 422.8 MB, free: 47.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.002484/0.2519, allocations: 2.135 MB / 425 MB, free: 46.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000767/0.2527, allocations: 0.5549 MB / 425.5 MB, free: 45.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2528, allocations: 4.812 kB / 425.5 MB, free: 45.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.253, allocations: 23.42 kB / 425.5 MB, free: 45.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2531, allocations: 60.88 kB / 425.6 MB, free: 45.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.2533, allocations: 58.58 kB / 425.7 MB, free: 45.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.2535, allocations: 246.9 kB / 425.9 MB, free: 45.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.2537, allocations: 91.38 kB / 426 MB, free: 45.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.2538, allocations: 84.78 kB / 426.1 MB, free: 45.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.254, allocations: 103 kB / 426.2 MB, free: 45.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.254, allocations: 15.8 kB / 426.2 MB, free: 45.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.502e-05/0.2541, allocations: 13.56 kB / 426.2 MB, free: 45.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.2541, allocations: 41.88 kB / 426.2 MB, free: 45.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2542, allocations: 131.5 kB / 426.4 MB, free: 45.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.2545, allocations: 249.8 kB / 426.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2545, allocations: 0 / 426.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2545, allocations: 0.9688 kB / 426.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2545, allocations: 0 / 426.6 MB, free: 45.38 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006612/0.2552, allocations: 497.8 kB / 427.1 MB, free: 44.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2552, allocations: 8.812 kB / 427.1 MB, free: 44.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.2553, allocations: 26.78 kB / 427.1 MB, free: 44.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2555, allocations: 240 kB / 427.4 MB, free: 44.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2556, allocations: 19.81 kB / 427.4 MB, free: 44.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.2556, allocations: 23.22 kB / 427.4 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.256, allocations: 242.6 kB / 427.7 MB, free: 44.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2561, allocations: 0 / 427.7 MB, free: 44.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2561, allocations: 11.12 kB / 427.7 MB, free: 44.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2561, allocations: 5.156 kB / 427.7 MB, free: 44.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.2564, allocations: 166.4 kB / 427.8 MB, free: 44.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2576, allocations: 0.865 MB / 428.7 MB, free: 43.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2579, allocations: 126.5 kB / 428.8 MB, free: 43.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.2581, allocations: 61.14 kB / 428.9 MB, free: 43.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2581, allocations: 5.094 kB / 428.9 MB, free: 43.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2581, allocations: 36.52 kB / 428.9 MB, free: 43.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2581, allocations: 1.156 kB / 428.9 MB, free: 43.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001122/0.2593, allocations: 0.5135 MB / 429.4 MB, free: 43.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2593, allocations: 53.12 kB / 429.5 MB, free: 43.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2595, allocations: 181.7 kB / 429.7 MB, free: 43.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2595, allocations: 25.7 kB / 429.7 MB, free: 43.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.2595, allocations: 161.9 kB / 429.9 MB, free: 42.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2596, allocations: 54.72 kB / 429.9 MB, free: 42.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.2596, allocations: 5.25 kB / 429.9 MB, free: 42.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.2597, allocations: 338.4 kB / 430.2 MB, free: 42.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2598, allocations: 43.41 kB / 430.3 MB, free: 42.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2599, allocations: 94.22 kB / 430.4 MB, free: 42.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.2602, allocations: 144.5 kB / 430.5 MB, free: 42.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2602, allocations: 2.125 kB / 430.5 MB, free: 42.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003372/0.2605, allocations: 193.3 kB / 430.7 MB, free: 42.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2606, allocations: 5.5 kB / 430.7 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2606, allocations: 2.75 kB / 430.7 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2606, allocations: 3.359 kB / 430.7 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2608, allocations: 55.72 kB / 430.8 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2608, allocations: 3.547 kB / 430.8 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.261, allocations: 12.91 kB / 430.8 MB, free: 42.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.261, allocations: 6.297 kB / 430.8 MB, free: 42.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.685e-05/0.2611, allocations: 139.3 kB / 430.9 MB, free: 42.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2611, allocations: 16.91 kB / 430.9 MB, free: 42.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.2612, allocations: 22.02 kB / 431 MB, free: 42.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2612, allocations: 2.406 kB / 431 MB, free: 42.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2612, allocations: 9.375 kB / 431 MB, free: 42.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.2612, allocations: 4.781 kB / 431 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2615, allocations: 267.6 kB / 431.2 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2615, allocations: 0 / 431.2 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.2616, allocations: 33.08 kB / 431.3 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2617, allocations: 1.891 kB / 431.3 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2617, allocations: 5.375 kB / 431.3 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2617, allocations: 2.125 kB / 431.3 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2617, allocations: 3.938 kB / 431.3 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.2622, allocations: 305.8 kB / 431.6 MB, free: 41.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.2622, allocations: 92.39 kB / 431.7 MB, free: 41.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2623, allocations: 2.047 kB / 431.7 MB, free: 41.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2624, allocations: 10.44 kB / 431.7 MB, free: 41.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.2625, allocations: 8.594 kB / 431.7 MB, free: 41.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2625, allocations: 11.33 kB / 431.7 MB, free: 41.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.343e-05/0.2626, allocations: 133 kB / 431.8 MB, free: 41.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2626, allocations: 0 / 431.8 MB, free: 41.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.2628, allocations: 43.16 kB / 431.9 MB, free: 41.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.055e-05/0.2629, allocations: 99.14 kB / 432 MB, free: 41.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2633, allocations: 133.3 kB / 432.1 MB, free: 41.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2633, allocations: 0 / 432.1 MB, free: 41.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.2634, allocations: 56.38 kB / 432.2 MB, free: 41.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2637, allocations: 23.03 kB / 432.2 MB, free: 41.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008385/0.2646, allocations: 0.585 MB / 432.8 MB, free: 40.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2647, allocations: 0.7405 MB / 433.5 MB, free: 40.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.132e-05/0.2648, allocations: 22.69 kB / 433.5 MB, free: 40.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.2649, allocations: 17.36 kB / 433.6 MB, free: 40.2 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2649, allocations: 0 / 433.6 MB, free: 40.2 MB / 330.7 MB Notification: Performance of Templates: time 0.003917/0.2688, allocations: 1.308 MB / 434.9 MB, free: 40.09 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1)