Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.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.001343/0.001343, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001486/0.001486, allocations: 163.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.518/1.518, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.02138/0.02138, allocations: 0.9603 MB / 260.1 MB, free: 15.84 MB / 254.1 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.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 383 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.218e-05, allocations: 2.281 kB / 383 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003535/0.003567, allocations: 1.531 MB / 384.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.006426, allocations: 1.176 MB / 385.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.006558, allocations: 0 / 385.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.0072, allocations: 151.2 kB / 385.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.008196, allocations: 270.7 kB / 386.1 MB, free: 476 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.048e-05/0.008206, allocations: 0 / 386.1 MB, free: 476 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.008449, allocations: 119.4 kB / 386.3 MB, free: 356 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.008517, allocations: 5.578 kB / 386.3 MB, free: 344 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.008658, allocations: 63.75 kB / 386.3 MB, free: 280 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.008851, allocations: 59.8 kB / 386.4 MB, free: 220 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.008875, allocations: 8 kB / 386.4 MB, free: 212 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.009661, allocations: 363 kB / 386.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.13e-05/0.009742, allocations: 35.84 kB / 386.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.009803, allocations: 31.86 kB / 386.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006866/0.01049, allocations: 339 kB / 387.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01049, allocations: 0 / 387.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01049, allocations: 0 / 387.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.0105, allocations: 0 / 387.1 MB, free: 15.45 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008511/0.01135, allocations: 422.7 kB / 387.6 MB, free: 15.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.0114, allocations: 8.031 kB / 387.6 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.01148, allocations: 20.8 kB / 387.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.01178, allocations: 173.2 kB / 387.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.0118, allocations: 12.31 kB / 387.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.01182, allocations: 384 / 387.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.01202, allocations: 102.2 kB / 387.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.01203, allocations: 192 / 387.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.01205, allocations: 4.375 kB / 387.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01205, allocations: 3.938 kB / 387.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.01235, allocations: 147.8 kB / 388 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.01268, allocations: 205.2 kB / 388.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.01292, allocations: 150.4 kB / 388.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.01304, allocations: 64.83 kB / 388.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.01316, allocations: 43.91 kB / 388.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.01321, allocations: 30.56 kB / 388.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.01321, allocations: 4 kB / 388.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001982/0.01519, allocations: 362.4 kB / 388.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.01524, allocations: 63.34 kB / 388.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.01552, allocations: 219 kB / 389.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01554, allocations: 25.7 kB / 389.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.01563, allocations: 112.1 kB / 389.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.01568, allocations: 27.75 kB / 389.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.01573, allocations: 29.7 kB / 389.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01589, allocations: 326.8 kB / 389.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.01598, allocations: 63.97 kB / 389.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.0161, allocations: 55.97 kB / 389.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.0163, allocations: 137.3 kB / 389.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0163, allocations: 4 kB / 389.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008055/0.01711, allocations: 242.1 kB / 390.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.01713, allocations: 8 kB / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01713, allocations: 0 / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/0.01786, allocations: 72.77 kB / 390.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.01793, allocations: 12 kB / 390.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.02045, allocations: 1.416 MB / 391.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.02054, allocations: 12.03 kB / 391.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.02055, allocations: 3.938 kB / 391.7 MB, free: 10.66 MB / 318.1 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.0207, allocations: 133.9 kB / 391.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.02074, allocations: 15.84 kB / 391.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/0.0216, allocations: 275.8 kB / 392.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0216, allocations: 96 / 392.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02161, allocations: 7.875 kB / 392.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.02161, allocations: 3.984 kB / 392.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.02183, allocations: 193.3 kB / 392.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02184, allocations: 0 / 392.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.02189, allocations: 15.94 kB / 392.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006123/0.0225, allocations: 72.77 kB / 392.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.02253, allocations: 4 kB / 392.4 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.02458, allocations: 1.42 MB / 393.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02458, allocations: 0 / 393.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.02538, allocations: 261.6 kB / 394 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.02543, allocations: 23.8 kB / 394.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.02545, allocations: 4.094 kB / 394.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.02551, allocations: 7.984 kB / 394.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.02555, allocations: 7.984 kB / 394.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.02556, allocations: 8 kB / 394.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.02574, allocations: 164.4 kB / 394.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02574, allocations: 0 / 394.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.02615, allocations: 79.8 kB / 394.3 MB, free: 7.805 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004193/0.02657, allocations: 159 kB / 394.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006199/0.02719, allocations: 274.5 kB / 394.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.02719, allocations: 0 / 394.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.0276, allocations: 206.6 kB / 395 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.02791, allocations: 23.92 kB / 395 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.03157, allocations: 0.5777 MB / 395.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.03171, allocations: 105.6 kB / 395.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.03177, allocations: 16.92 kB / 395.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.03181, allocations: 16.5 kB / 395.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.03181, allocations: 0 / 395.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of Templates: time 0.008793/0.0406, allocations: 3.405 MB / 399.1 MB, free: 2.973 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.678821377456188] Failed to read output from testmodel.py, exit status != 0: 0.05120425298810005 0.06795411800000001 0.053741920000000006 Calling exit ...