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.001331/0.001331, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001481/0.001481, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.01844/0.01844, allocations: 0.9662 MB / 260.7 MB, free: 15.81 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: FluxTubesExtension requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003047/0.003047, allocations: 67.89 kB / 383.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1192, allocations: 53.6 MB / 437.1 MB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003189/0.1224, allocations: 1.541 MB / 438.7 MB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1245, allocations: 1.172 MB / 439.8 MB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1246, allocations: 7.938 kB / 439.9 MB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.1251, allocations: 139.4 kB / 440 MB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.1259, allocations: 275 kB / 440.3 MB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.835e-06/0.1259, allocations: 7.938 kB / 440.3 MB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1261, allocations: 107.5 kB / 440.4 MB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.1261, allocations: 9.625 kB / 440.4 MB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.1262, allocations: 43.73 kB / 440.4 MB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1264, allocations: 67.66 kB / 440.5 MB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1264, allocations: 8 kB / 440.5 MB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.127, allocations: 359.1 kB / 440.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.127, allocations: 35.78 kB / 440.9 MB, free: 11.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.1271, allocations: 43.67 kB / 440.9 MB, free: 11.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.1276, allocations: 322.8 kB / 441.2 MB, free: 11.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1276, allocations: 7.984 kB / 441.2 MB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1276, allocations: 0 / 441.2 MB, free: 11.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1276, allocations: 0 / 441.2 MB, free: 11.03 MB / 414.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.0006824/0.1283, allocations: 420.9 kB / 441.7 MB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1283, allocations: 8.031 kB / 441.7 MB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.1283, allocations: 20.84 kB / 441.7 MB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1286, allocations: 178 kB / 441.9 MB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1286, allocations: 12.31 kB / 441.9 MB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1286, allocations: 4.375 kB / 441.9 MB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1288, allocations: 106 kB / 442 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1288, allocations: 0 / 442 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1288, allocations: 4 kB / 442 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1288, allocations: 0 / 442 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.129, allocations: 143.9 kB / 442.1 MB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.1293, allocations: 201.2 kB / 442.3 MB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1295, allocations: 142.5 kB / 442.5 MB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/0.1296, allocations: 68.81 kB / 442.5 MB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.1297, allocations: 39.92 kB / 442.6 MB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1297, allocations: 30.56 kB / 442.6 MB, free: 9.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.051e-06/0.1297, allocations: 4 kB / 442.6 MB, free: 9.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00173/0.1315, allocations: 362.7 kB / 443 MB, free: 9.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1315, allocations: 63.33 kB / 443 MB, free: 9.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1318, allocations: 211.1 kB / 443.2 MB, free: 8.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1318, allocations: 33.8 kB / 443.3 MB, free: 8.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.1319, allocations: 112.1 kB / 443.4 MB, free: 8.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.1319, allocations: 39.67 kB / 443.4 MB, free: 8.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.132, allocations: 33.7 kB / 443.4 MB, free: 8.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1321, allocations: 322.8 kB / 443.7 MB, free: 8.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.1322, allocations: 63.97 kB / 443.8 MB, free: 8.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.1323, allocations: 59.97 kB / 443.9 MB, free: 8.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1325, allocations: 132.7 kB / 444 MB, free: 8.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1325, allocations: 4 kB / 444 MB, free: 8.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007789/0.1332, allocations: 238.2 kB / 444.2 MB, free: 7.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1333, allocations: 4 kB / 444.2 MB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1333, allocations: 4 kB / 444.2 MB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/0.1339, allocations: 64.78 kB / 444.3 MB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.134, allocations: 15.98 kB / 444.3 MB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.1361, allocations: 1.424 MB / 445.7 MB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.1362, allocations: 4.031 kB / 445.8 MB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1362, allocations: 288 / 445.8 MB, free: 6.238 MB / 414.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.0001198/0.1363, allocations: 132.6 kB / 445.9 MB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.1364, allocations: 15.86 kB / 445.9 MB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.1372, allocations: 271.7 kB / 446.2 MB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1372, allocations: 7.938 kB / 446.2 MB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1372, allocations: 0 / 446.2 MB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1372, allocations: 4 kB / 446.2 MB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.1375, allocations: 201.2 kB / 446.4 MB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1375, allocations: 3.984 kB / 446.4 MB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.1375, allocations: 15.94 kB / 446.4 MB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.1381, allocations: 68.78 kB / 446.5 MB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1381, allocations: 7.984 kB / 446.5 MB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.1401, allocations: 1.409 MB / 447.9 MB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1401, allocations: 3.984 kB / 447.9 MB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.1409, allocations: 269.7 kB / 448.1 MB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.1409, allocations: 11.91 kB / 448.2 MB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.141, allocations: 4.188 kB / 448.2 MB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.141, allocations: 0 / 448.2 MB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.1411, allocations: 19.91 kB / 448.2 MB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1411, allocations: 4 kB / 448.2 MB, free: 3.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1412, allocations: 164.4 kB / 448.3 MB, free: 3.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 448.3 MB, free: 3.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00038/0.1416, allocations: 87.73 kB / 448.4 MB, free: 3.387 MB / 414.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.0002809/0.1419, allocations: 154.9 kB / 448.6 MB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.1425, allocations: 266.5 kB / 448.8 MB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1425, allocations: 0 / 448.8 MB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.1429, allocations: 214.5 kB / 449 MB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1431, allocations: 27.95 kB / 449.1 MB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.1468, allocations: 0.5777 MB / 449.7 MB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1469, allocations: 105.6 kB / 449.8 MB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.363e-05/0.147, allocations: 17.28 kB / 449.8 MB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.147, allocations: 20.5 kB / 449.8 MB, free: 1.938 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.147, allocations: 0 / 449.8 MB, free: 1.938 MB / 414.1 MB Notification: Performance of Templates: time 0.01052/0.1575, allocations: 3.45 MB / 453.2 MB, free: 14.49 MB / 430.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 -s ida -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.627594502991997] Failed to read output from testmodel.py, exit status != 0: 0.16829912702087313 0.188523257 0.056754088 Calling exit ...