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.001115/0.001115, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009999/0.0009999, allocations: 173 kB / 23.02 MB, free: 1.551 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.9674/0.9674, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.004944/0.004944, allocations: 0.9708 MB / 260.9 MB, free: 12.2 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.723e-06/1.723e-06, allocations: 0 / 330.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.553e-05, allocations: 2.312 kB / 330.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.004857/0.004882, allocations: 1.272 MB / 332 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.005737, allocations: 0.6815 MB / 332.7 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.00577, allocations: 0 / 332.7 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.006041, allocations: 39.77 kB / 332.7 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.006351, allocations: 103.5 kB / 332.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.955e-06/0.006353, allocations: 0 / 332.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.201e-05/0.006415, allocations: 23.86 kB / 332.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.006449, allocations: 4 kB / 332.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.00648, allocations: 4 kB / 332.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.006541, allocations: 19.91 kB / 332.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.006547, allocations: 4 kB / 332.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.00676, allocations: 171.5 kB / 333.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.006803, allocations: 11.92 kB / 333.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.006824, allocations: 11.94 kB / 333.1 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.007022, allocations: 159.4 kB / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.007026, allocations: 0 / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007027, allocations: 0 / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.007032, allocations: 0 / 333.2 MB, free: 16.3 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.0003097/0.007342, allocations: 380.4 kB / 333.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.007381, allocations: 12.03 kB / 333.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.007421, allocations: 8.938 kB / 333.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.00757, allocations: 124.6 kB / 333.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.00758, allocations: 4.375 kB / 333.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/0.01063, allocations: 4.359 kB / 333.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.01073, allocations: 38.2 kB / 333.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01074, allocations: 192 / 333.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.01075, allocations: 4.359 kB / 333.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.01076, allocations: 3.938 kB / 333.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.0108, allocations: 8 kB / 333.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.01096, allocations: 128.7 kB / 334 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01121, allocations: 55.05 kB / 334 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.01123, allocations: 11.69 kB / 334 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.01128, allocations: 8.078 kB / 334 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.0113, allocations: 37.33 kB / 334.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.0113, allocations: 0 / 334.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003814/0.01168, allocations: 109.3 kB / 334.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.01171, allocations: 51.41 kB / 334.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.01178, allocations: 193.8 kB / 334.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.01178, allocations: 25.7 kB / 334.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.01181, allocations: 134.9 kB / 334.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.01183, allocations: 11.91 kB / 334.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.01187, allocations: 31.36 kB / 334.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.01191, allocations: 496.1 kB / 335.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.01193, allocations: 8 kB / 335.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.01195, allocations: 11.98 kB / 335.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.523e-05/0.01199, allocations: 23.69 kB / 335.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01199, allocations: 0 / 335.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.568e-05/0.01208, allocations: 65.58 kB / 335.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01209, allocations: 4 kB / 335.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0121, allocations: 0 / 335.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01211, allocations: 4.219 kB / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.01216, allocations: 19.98 kB / 335.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.01217, allocations: 0 / 335.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.01219, allocations: 0 / 335.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.01221, allocations: 4 kB / 335.2 MB, free: 14.12 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 4.002e-05/0.01225, allocations: 156.6 kB / 335.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.01226, allocations: 7.984 kB / 335.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.01239, allocations: 85.72 kB / 335.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01239, allocations: 3.938 kB / 335.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.0124, allocations: 0 / 335.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.0124, allocations: 0 / 335.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.01267, allocations: 341 kB / 335.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01267, allocations: 0 / 335.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.0127, allocations: 12.31 kB / 335.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01271, allocations: 3.938 kB / 335.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01272, allocations: 11.98 kB / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01272, allocations: 0 / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01272, allocations: 0 / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.996e-05/0.01281, allocations: 215.6 kB / 336 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.01282, allocations: 11.89 kB / 336.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.01283, allocations: 0 / 336.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.01288, allocations: 3.938 kB / 336.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.0129, allocations: 12.02 kB / 336.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.01291, allocations: 8 kB / 336.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.793e-05/0.01293, allocations: 139.5 kB / 336.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01293, allocations: 0 / 336.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000271/0.01321, allocations: 27.94 kB / 336.2 MB, free: 13.02 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.00322/0.01642, allocations: 127.1 kB / 336.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01655, allocations: 39.61 kB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01655, allocations: 0 / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.01657, allocations: 19.67 kB / 336.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01679, allocations: 8 kB / 336.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.01708, allocations: 160.2 kB / 336.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.01711, allocations: 67.2 kB / 336.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.01714, allocations: 8.062 kB / 336.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.01717, allocations: 16.5 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.01717, allocations: 0 / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Templates: time 0.006463/0.02363, allocations: 1.189 MB / 337.9 MB, free: 11.37 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.7846868112683296]