Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009902/0.0009902, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9808/0.9808, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.01365/0.01365, allocations: 0.9613 MB / 262 MB, free: 12.04 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 332 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.937e-05, allocations: 6.312 kB / 332 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002805/0.002834, allocations: 1.273 MB / 333.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004024, allocations: 0.6815 MB / 333.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.004065, allocations: 0 / 333.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.004356, allocations: 31.84 kB / 334 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.004756, allocations: 103.5 kB / 334.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.00476, allocations: 0 / 334.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.00483, allocations: 23.86 kB / 334.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.004871, allocations: 3.984 kB / 334.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.004916, allocations: 19.94 kB / 334.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.004993, allocations: 15.91 kB / 334.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.005002, allocations: 0 / 334.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.005291, allocations: 167.5 kB / 334.3 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.005345, allocations: 11.98 kB / 334.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.005366, allocations: 7.938 kB / 334.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.005633, allocations: 159.4 kB / 334.5 MB, free: 1.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005637, allocations: 0 / 334.5 MB, free: 1.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005638, allocations: 4 kB / 334.5 MB, free: 1.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005642, allocations: 0 / 334.5 MB, free: 1.082 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004289/0.006071, allocations: 384.3 kB / 334.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.006113, allocations: 12.03 kB / 334.9 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.006149, allocations: 4.938 kB / 334.9 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.006334, allocations: 124.6 kB / 335 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.006344, allocations: 4.375 kB / 335 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.006361, allocations: 384 / 335 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.622e-05/0.006438, allocations: 38.19 kB / 335 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006447, allocations: 192 / 335 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.006454, allocations: 384 / 335 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.006461, allocations: 3.938 kB / 335 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.006489, allocations: 15.98 kB / 335.1 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.006625, allocations: 109.2 kB / 335.2 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.006819, allocations: 55.03 kB / 335.2 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.006842, allocations: 15.62 kB / 335.2 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.00688, allocations: 4 kB / 335.2 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.006906, allocations: 45.41 kB / 335.3 MB, free: 168 kB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006907, allocations: 4 kB / 335.3 MB, free: 164 kB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003233/0.00723, allocations: 85.5 kB / 335.4 MB, free: 72 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.007261, allocations: 55.34 kB / 335.4 MB, free: 4 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.00738, allocations: 181.9 kB / 335.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.007391, allocations: 25.7 kB / 335.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.007438, allocations: 138.9 kB / 335.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.007468, allocations: 15.89 kB / 335.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.007505, allocations: 27.36 kB / 335.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.007653, allocations: 0.4923 MB / 336.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.007669, allocations: 4 kB / 336.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.007685, allocations: 4 kB / 336.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.007734, allocations: 31.84 kB / 336.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007735, allocations: 0 / 336.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.928e-05/0.007834, allocations: 57.59 kB / 336.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.007852, allocations: 11.98 kB / 336.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007858, allocations: 0 / 336.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.007868, allocations: 4 kB / 336.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.007916, allocations: 8 kB / 336.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00792, allocations: 3.938 kB / 336.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.00794, allocations: 0 / 336.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.00796, allocations: 4 kB / 336.4 MB, free: 14.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 7.742e-05/0.008038, allocations: 160.6 kB / 336.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.008053, allocations: 7.984 kB / 336.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.00821, allocations: 85.67 kB / 336.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008212, allocations: 0 / 336.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.008215, allocations: 3.938 kB / 336.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008219, allocations: 4 kB / 336.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.008526, allocations: 301.7 kB / 337 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.008529, allocations: 4 kB / 337 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.008567, allocations: 8 kB / 337 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.008571, allocations: 3.984 kB / 337 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.008579, allocations: 4 kB / 337 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.008582, allocations: 11.88 kB / 337 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008583, allocations: 0 / 337 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.008717, allocations: 215.6 kB / 337.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.008731, allocations: 4 kB / 337.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.008743, allocations: 4.031 kB / 337.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.008794, allocations: 11.94 kB / 337.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.00881, allocations: 3.984 kB / 337.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.00882, allocations: 4 kB / 337.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.252e-05/0.008873, allocations: 135.2 kB / 337.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008873, allocations: 4 kB / 337.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000274/0.009147, allocations: 27.94 kB / 337.4 MB, free: 13.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * 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 0.0002223/0.009369, allocations: 131.4 kB / 337.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.009463, allocations: 31.61 kB / 337.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009465, allocations: 0 / 337.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.009487, allocations: 19.67 kB / 337.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.009718, allocations: 8 kB / 337.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.01005, allocations: 170.3 kB / 337.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.0101, allocations: 59.34 kB / 337.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.01014, allocations: 12.06 kB / 337.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.0102, allocations: 74.2 kB / 337.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0102, allocations: 0 / 337.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of Templates: time 0.004226/0.01442, allocations: 1.222 MB / 339.1 MB, free: 12.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8918343507684767]