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.0009095/0.0009095, allocations: 93.06 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.0008925/0.0008925, allocations: 165 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 1.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.008172/0.008172, allocations: 0.9737 MB / 260.9 MB, free: 12.18 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.293e-06/1.293e-06, allocations: 0 / 330.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.692e-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.001586/0.001603, allocations: 1.28 MB / 332 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.005436, allocations: 0.6776 MB / 332.7 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.005465, allocations: 0 / 332.7 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.005727, allocations: 35.77 kB / 332.7 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.005994, allocations: 99.56 kB / 332.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.005997, allocations: 0 / 332.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.006053, allocations: 23.86 kB / 332.9 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.006084, allocations: 7.984 kB / 332.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.006115, allocations: 11.92 kB / 332.9 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.006169, allocations: 8 kB / 332.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.006178, allocations: 7.938 kB / 332.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.006377, allocations: 171.5 kB / 333.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.006416, allocations: 15.92 kB / 333.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.006435, allocations: 4 kB / 333.1 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.006622, allocations: 163.4 kB / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006624, allocations: 0 / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006624, allocations: 0 / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.006627, 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.0002652/0.006892, allocations: 384.3 kB / 333.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.006923, allocations: 12.03 kB / 333.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.006956, allocations: 12.92 kB / 333.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.00708, allocations: 124.6 kB / 333.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.007089, allocations: 4.375 kB / 333.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.007113, allocations: 4.375 kB / 333.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.585e-05/0.007178, allocations: 38.19 kB / 333.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007187, allocations: 192 / 333.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.007195, allocations: 384 / 333.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007203, allocations: 3.938 kB / 333.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.00723, allocations: 8 kB / 333.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.007333, allocations: 124.6 kB / 333.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.0075, allocations: 51.09 kB / 334 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.007524, allocations: 23.75 kB / 334 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.007561, allocations: 8 kB / 334 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.007574, allocations: 37.33 kB / 334.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.007575, allocations: 0 / 334.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.003314/0.01089, allocations: 109.3 kB / 334.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.01091, allocations: 51.41 kB / 334.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.01097, allocations: 189.8 kB / 334.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.01097, allocations: 25.7 kB / 334.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.011, allocations: 138.9 kB / 334.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.01102, allocations: 7.906 kB / 334.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.01105, allocations: 31.36 kB / 334.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.01109, allocations: 0.4884 MB / 335.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.01111, allocations: 11.92 kB / 335.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.01113, allocations: 8 kB / 335.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.01117, allocations: 27.69 kB / 335.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01117, allocations: 0 / 335.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.783e-05/0.01125, allocations: 61.58 kB / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.01126, allocations: 4 kB / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01126, allocations: 0 / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01128, allocations: 3.938 kB / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.01132, allocations: 15.98 kB / 335.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01132, allocations: 3.984 kB / 335.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.01134, allocations: 8 kB / 335.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01135, allocations: 4 kB / 335.2 MB, free: 14.11 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.549e-05/0.01139, allocations: 152.6 kB / 335.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.0114, allocations: 4 kB / 335.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.01153, allocations: 89.72 kB / 335.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01153, allocations: 3.938 kB / 335.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.01154, allocations: 0 / 335.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01154, allocations: 0 / 335.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.01178, allocations: 333.1 kB / 335.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01178, allocations: 4.031 kB / 335.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.01181, allocations: 12.3 kB / 335.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01181, allocations: 3.938 kB / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01182, allocations: 8 kB / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01182, allocations: 0 / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01182, allocations: 0 / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.677e-05/0.01191, allocations: 215.6 kB / 336 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.01192, allocations: 7.891 kB / 336.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01193, allocations: 8 kB / 336.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.683e-05/0.01198, allocations: 0 / 336.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.012, allocations: 7.984 kB / 336.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.012, allocations: 8 kB / 336.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.01203, allocations: 135.2 kB / 336.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01203, allocations: 0 / 336.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01228, allocations: 35.88 kB / 336.2 MB, free: 13.01 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.0001652/0.01244, allocations: 127.1 kB / 336.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.01253, allocations: 35.94 kB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01253, allocations: 4 kB / 336.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.01254, allocations: 15.69 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.0002068/0.01275, 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.0002344/0.01299, allocations: 164.2 kB / 336.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.01301, allocations: 67.2 kB / 336.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.487e-05/0.01304, allocations: 4.094 kB / 336.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.01306, allocations: 20.55 kB / 336.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01306, allocations: 0 / 336.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Templates: time 0.005675/0.01874, allocations: 1.024 MB / 337.7 MB, free: 11.52 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: 3.0272339689545333]