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.001076/0.001076, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001146/0.001146, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.9278/0.9278, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.005128/0.005128, allocations: 0.9796 MB / 261.3 MB, free: 12.25 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.312e-06/1.312e-06, allocations: 0 / 330.8 MB, free: 19.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.811e-05, allocations: 4.703 kB / 330.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.001317/0.001335, allocations: 1.27 MB / 332 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000734/0.002069, allocations: 0.6737 MB / 332.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.002105, allocations: 4 kB / 332.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.002352, allocations: 39.77 kB / 332.8 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.002604, allocations: 91.56 kB / 332.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.002607, allocations: 0 / 332.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.00266, allocations: 27.86 kB / 332.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.002695, allocations: 3.984 kB / 332.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.002724, allocations: 15.92 kB / 332.9 MB, free: 17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.002779, allocations: 8 kB / 332.9 MB, free: 16.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.002786, allocations: 7.875 kB / 332.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.00296, allocations: 171.6 kB / 333.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.003002, allocations: 15.94 kB / 333.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.00302, allocations: 4 kB / 333.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.003189, allocations: 163.4 kB / 333.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003191, allocations: 0 / 333.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003192, allocations: 0 / 333.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003195, allocations: 0 / 333.3 MB, free: 16.64 MB / 266.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.0002465/0.003442, allocations: 388.3 kB / 333.6 MB, free: 16.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.003472, allocations: 12.03 kB / 333.6 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.003507, allocations: 4.938 kB / 333.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.003634, allocations: 128.6 kB / 333.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.003642, allocations: 4.375 kB / 333.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.00366, allocations: 4.375 kB / 333.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.317e-05/0.003724, allocations: 38.19 kB / 333.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.003732, allocations: 192 / 333.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.00374, allocations: 384 / 333.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.003747, allocations: 3.938 kB / 333.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.003773, allocations: 4 kB / 333.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.003879, allocations: 128.6 kB / 334 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.004033, allocations: 51.19 kB / 334 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.004053, allocations: 11.67 kB / 334 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.00409, allocations: 19.94 kB / 334 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.004102, allocations: 33.39 kB / 334.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004103, allocations: 0 / 334.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000277/0.00438, allocations: 109.3 kB / 334.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.004399, allocations: 51.41 kB / 334.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.004453, allocations: 181.9 kB / 334.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.004459, allocations: 25.7 kB / 334.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.004481, allocations: 138.9 kB / 334.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.004503, allocations: 15.89 kB / 334.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.004527, allocations: 23.38 kB / 334.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.004571, allocations: 0.4923 MB / 335.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.004593, allocations: 11.92 kB / 335.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.004608, allocations: 8.062 kB / 335.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.004646, allocations: 27.69 kB / 335.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.004647, allocations: 0 / 335.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.361e-05/0.00471, allocations: 65.58 kB / 335.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.00472, allocations: 4 kB / 335.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004724, allocations: 0 / 335.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004735, allocations: 3.938 kB / 335.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.134e-05/0.004766, allocations: 11.98 kB / 335.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.004771, allocations: 0 / 335.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.004786, allocations: 12 kB / 335.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.004801, allocations: 4 kB / 335.2 MB, free: 14.45 MB / 266.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 3.648e-05/0.004837, allocations: 152.6 kB / 335.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.004845, allocations: 4 kB / 335.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.004948, allocations: 93.7 kB / 335.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.00495, allocations: 4.219 kB / 335.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.004954, allocations: 0 / 335.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004957, allocations: 3.984 kB / 335.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.005164, allocations: 329.1 kB / 335.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005165, allocations: 8.031 kB / 335.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.005186, allocations: 11.98 kB / 335.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005188, allocations: 3.938 kB / 335.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.005194, allocations: 0 / 335.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005196, allocations: 4.25 kB / 335.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005197, allocations: 0 / 335.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.005267, allocations: 219.6 kB / 336.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-06/0.005274, allocations: 7.891 kB / 336.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005285, allocations: 8 kB / 336.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.005315, allocations: 3.984 kB / 336.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.00533, allocations: 0 / 336.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.005335, allocations: 12 kB / 336.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.416e-05/0.005359, allocations: 135.2 kB / 336.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005359, allocations: 0 / 336.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.005546, allocations: 31.88 kB / 336.3 MB, free: 13.35 MB / 266.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.0001564/0.005702, allocations: 131.1 kB / 336.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.005774, allocations: 35.61 kB / 336.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005775, allocations: 4 kB / 336.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.00579, allocations: 15.69 kB / 336.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.005939, allocations: 8 kB / 336.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.006162, allocations: 164.2 kB / 336.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.283e-05/0.006185, allocations: 63.2 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.006206, allocations: 8 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.006228, allocations: 20.55 kB / 336.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006228, allocations: 0 / 336.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Templates: time 0.002252/0.00848, allocations: 1.018 MB / 337.7 MB, free: 11.86 MB / 266.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.7752497710753232]