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.001512/0.001512, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001357/0.001357, allocations: 219.4 kB / 23.01 MB, free: 4.609 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.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.01498/0.01498, allocations: 1.237 MB / 314.4 MB, free: 2.008 MB / 238.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.001856/0.001856, allocations: 67.89 kB / 437.3 MB, free: 16.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08467, allocations: 53.64 MB / 491 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002666/0.08734, allocations: 1.563 MB / 492.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.08926, allocations: 1.304 MB / 493.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.08931, allocations: 0 / 493.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.08982, allocations: 167.3 kB / 494 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.09048, allocations: 284.5 kB / 494.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.611e-06/0.09049, allocations: 0 / 494.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.09063, allocations: 103.5 kB / 494.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.09067, allocations: 5.641 kB / 494.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.09074, allocations: 51.77 kB / 494.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.0909, allocations: 71.67 kB / 494.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.09091, allocations: 4 kB / 494.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.09159, allocations: 0.4989 MB / 495 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.09164, allocations: 35.83 kB / 495 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.0917, allocations: 51.62 kB / 495.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.09214, allocations: 350.7 kB / 495.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.09215, allocations: 0 / 495.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09215, allocations: 0 / 495.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.09215, allocations: 0 / 495.4 MB, free: 5.785 MB / 350.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.0006513/0.0928, allocations: 413 kB / 495.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.09283, allocations: 12.03 kB / 495.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.09288, allocations: 16.84 kB / 495.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.09313, allocations: 178.1 kB / 496 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-06/0.09314, allocations: 4.312 kB / 496 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.09316, allocations: 4.375 kB / 496 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.09331, allocations: 109.9 kB / 496.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.09332, allocations: 0 / 496.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.09333, allocations: 3.984 kB / 496.1 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.09334, allocations: 7.984 kB / 496.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.09352, allocations: 139.9 kB / 496.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.09381, allocations: 244.5 kB / 496.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.09401, allocations: 150.5 kB / 496.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.0941, allocations: 72.77 kB / 496.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.09415, allocations: 31.98 kB / 496.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.09418, allocations: 42.48 kB / 496.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.09418, allocations: 0 / 496.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001695/0.09588, allocations: 362.3 kB / 497.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.09592, allocations: 55.34 kB / 497.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.09614, allocations: 219 kB / 497.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.09616, allocations: 29.7 kB / 497.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.09623, allocations: 112.1 kB / 497.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.09627, allocations: 31.75 kB / 497.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.09632, allocations: 25.7 kB / 497.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.09646, allocations: 326.8 kB / 498 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.09654, allocations: 59.95 kB / 498 MB, free: 3.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.09662, allocations: 63.97 kB / 498.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.09678, allocations: 124.8 kB / 498.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09678, allocations: 7.875 kB / 498.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007725/0.09755, allocations: 254.7 kB / 498.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.09757, allocations: 4.094 kB / 498.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.09757, allocations: 3.938 kB / 498.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/0.09825, allocations: 76.77 kB / 498.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.09831, allocations: 12 kB / 498.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.1005, allocations: 1.451 MB / 500 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.1006, allocations: 4.031 kB / 0.4883 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1006, allocations: 4 kB / 0.4883 GB, free: 0.8867 MB / 350.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.0001083/0.1007, allocations: 129.8 kB / 0.4884 GB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1007, allocations: 11.91 kB / 0.4884 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.1015, allocations: 267.7 kB / 0.4887 GB, free: 476 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.1015, allocations: 4 kB / 0.4887 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.1016, allocations: 0 / 0.4887 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1016, allocations: 0 / 0.4887 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1018, allocations: 232.6 kB / 0.4889 GB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1018, allocations: 3.938 kB / 0.4889 GB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.1018, allocations: 15.94 kB / 0.4889 GB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006289/0.1025, allocations: 76.86 kB / 0.489 GB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1025, allocations: 7.938 kB / 0.489 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.1043, allocations: 1.435 MB / 0.4904 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1043, allocations: 0 / 0.4904 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.1051, allocations: 269.8 kB / 0.4907 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1052, allocations: 19.86 kB / 0.4907 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1052, allocations: 0 / 0.4907 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.1052, allocations: 7.938 kB / 0.4907 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1053, allocations: 11.97 kB / 0.4907 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1053, allocations: 4 kB / 0.4907 GB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1054, allocations: 168.4 kB / 0.4909 GB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1054, allocations: 0 / 0.4909 GB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1058, allocations: 83.73 kB / 0.4909 GB, free: 13.96 MB / 366.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.0002487/0.106, allocations: 158.9 kB / 0.4911 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.1066, allocations: 270.5 kB / 0.4914 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1066, allocations: 0 / 0.4914 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.107, allocations: 202.6 kB / 0.4915 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1072, allocations: 25.55 kB / 0.4916 GB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.1107, allocations: 0.6184 MB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1111, allocations: 0.7123 MB / 0.4929 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.1111, allocations: 19.42 kB / 0.4929 GB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1111, allocations: 0 / 0.4929 GB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.00521/0.1163, allocations: 3.008 MB / 0.4958 GB, free: 8.871 MB / 366.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: 7.109538688091561] Failed to read output from testmodel.py, exit status != 0: 0.12341273995116353 0.284110069 0.18940231100000002 Calling exit ...