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.00107/0.00107, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001158/0.001158, allocations: 181 kB / 23.35 MB, free: 1.133 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.9155/0.9155, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.01377/0.01377, allocations: 0.9662 MB / 261.2 MB, free: 12.07 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.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.443e-06/1.443e-06, allocations: 0 / 278 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.191e-05, allocations: 2.312 kB / 278 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.005523/0.005545, allocations: 1.57 MB / 279.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.007094, allocations: 1.253 MB / 280.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.00715, allocations: 0 / 280.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.01079, allocations: 147.2 kB / 280.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008077/0.01159, allocations: 282.7 kB / 281.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.482e-06/0.0116, allocations: 4 kB / 281.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.01175, allocations: 111.4 kB / 281.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.0118, allocations: 6.297 kB / 281.3 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.0119, allocations: 67.75 kB / 281.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.01205, allocations: 55.8 kB / 281.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.01207, allocations: 4 kB / 281.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.01263, allocations: 367 kB / 281.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.01269, allocations: 39.84 kB / 281.8 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.01273, allocations: 31.86 kB / 281.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.01321, allocations: 322.8 kB / 282.2 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01321, allocations: 4 kB / 282.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01321, allocations: 4 kB / 282.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.01321, allocations: 0 / 282.2 MB, free: 7.066 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005161/0.01373, allocations: 387.6 kB / 282.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.01376, allocations: 8.031 kB / 282.6 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.0138, allocations: 16.92 kB / 282.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.01399, allocations: 165.5 kB / 282.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.014, allocations: 4.312 kB / 282.8 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.01401, allocations: 4.375 kB / 282.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.01411, allocations: 60.98 kB / 282.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.01411, allocations: 192 / 282.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.01412, allocations: 384 / 282.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.01413, allocations: 3.938 kB / 282.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.01419, allocations: 35.94 kB / 282.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.01434, allocations: 102.6 kB / 283 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.01443, allocations: 45.66 kB / 283 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.0146, allocations: 16.8 kB / 283 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/0.01468, allocations: 39.97 kB / 283.1 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.0147, allocations: 34.56 kB / 283.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.01471, allocations: 4 kB / 283.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.001064/0.01577, allocations: 186.3 kB / 283.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.0158, allocations: 55.34 kB / 283.3 MB, free: 5.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.01595, allocations: 190.3 kB / 283.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.01596, allocations: 25.7 kB / 283.6 MB, free: 5.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.016, allocations: 100.1 kB / 283.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.01604, allocations: 35.72 kB / 283.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.01608, allocations: 25.72 kB / 283.7 MB, free: 5.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01619, allocations: 334.7 kB / 284 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.01622, allocations: 6.828 kB / 284 MB, free: 5.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.01624, allocations: 12.36 kB / 284.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.0163, allocations: 31.8 kB / 284.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.0163, allocations: 7.938 kB / 284.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004245/0.01673, allocations: 118.4 kB / 284.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01675, allocations: 19.2 kB / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01675, allocations: 0 / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007049/0.01746, allocations: 100.7 kB / 284.3 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.01751, allocations: 11.98 kB / 284.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.0189, allocations: 1.263 MB / 285.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.01895, allocations: 3.953 kB / 285.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.01897, allocations: 12.05 kB / 285.6 MB, free: 3.395 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 (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 8.333e-05/0.01905, allocations: 120.6 kB / 285.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.01907, allocations: 11.98 kB / 285.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.01956, allocations: 139.8 kB / 285.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.01956, allocations: 0 / 285.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.01957, allocations: 7.984 kB / 285.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01957, allocations: 4 kB / 285.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.0197, allocations: 105.7 kB / 286 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.0197, allocations: 3.984 kB / 286 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.01974, allocations: 11.94 kB / 286 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.02132, allocations: 96.73 kB / 286.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.02133, allocations: 4 kB / 286.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.02219, allocations: 1.264 MB / 287.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02219, allocations: 0 / 287.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.02247, allocations: 159.7 kB / 287.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.02249, allocations: 19.91 kB / 287.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.0225, allocations: 3.984 kB / 287.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.02253, allocations: 0 / 287.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.02255, allocations: 11.92 kB / 287.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.02255, allocations: 4 kB / 287.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.0226, allocations: 65.95 kB / 287.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0226, allocations: 0 / 287.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.02284, allocations: 79.75 kB / 287.7 MB, free: 1.137 MB / 266.7 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.0002006/0.02304, allocations: 152 kB / 287.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.02328, allocations: 167.2 kB / 288 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.02328, allocations: 4 kB / 288 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.02341, allocations: 163.7 kB / 288.2 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.02354, allocations: 27.83 kB / 288.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.025, allocations: 0.5296 MB / 288.8 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09062/0.1156, allocations: 73.5 kB / 288.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.1157, allocations: 15.58 kB / 288.8 MB, free: 25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.1157, allocations: 65.44 kB / 288.9 MB, free: 24.96 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1157, allocations: 0 / 288.9 MB, free: 24.96 MB / 266.7 MB Notification: Performance of Templates: time 0.005859/0.1216, allocations: 3.75 MB / 292.7 MB, free: 24.7 MB / 266.7 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=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.653214412741363]