Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.38/1.38, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2085, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.01045/0.2189, allocations: 7.977 MB / 440 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005607/0.2245, allocations: 3.185 MB / 443.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.2253, allocations: 31.88 kB / 443.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.2285, allocations: 1.351 MB / 444.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.2301, allocations: 0.6343 MB / 445.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.233, allocations: 1.521 MB / 446.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.2349, allocations: 1.694 MB / 448.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.2363, allocations: 1.047 MB / 449.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.237, allocations: 0.6655 MB / 450.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.238, allocations: 0.8012 MB / 451 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.2382, allocations: 168 kB / 451.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008173/0.239, allocations: 495.6 kB / 451.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.2394, allocations: 390.7 kB / 452 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.2401, allocations: 0.8006 MB / 452.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.2425, allocations: 2.335 MB / 455.1 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2425, allocations: 0 / 455.1 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2425, allocations: 4 kB / 455.1 MB, free: 192 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.2425, allocations: 0 / 455.1 MB, free: 192 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.006149/0.2487, allocations: 3.03 MB / 458.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2487, allocations: 8.031 kB / 458.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.2527, allocations: 0.5814 MB / 458.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.2543, allocations: 0.8844 MB / 459.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2544, allocations: 148.6 kB / 459.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.2547, allocations: 163.9 kB / 459.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.2573, allocations: 1.339 MB / 461.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.2573, allocations: 7.938 kB / 461.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.2575, allocations: 63.98 kB / 461.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.2575, allocations: 36 kB / 461.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.2603, allocations: 1.276 MB / 462.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008104/0.2684, allocations: 4.938 MB / 467.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.2714, allocations: 1.856 MB / 469.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2726, allocations: 0.5189 MB / 470 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.2728, allocations: 195.2 kB / 470.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.2742, allocations: 0.7332 MB / 470.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 2.946e-06/0.2742, allocations: 0 / 470.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.01515/0.2894, allocations: 5.636 MB / 476.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2895, allocations: 153.8 kB / 476.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.2903, allocations: 0.6567 MB / 477.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.2904, allocations: 65.7 kB / 477.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.2909, allocations: 0.5991 MB / 478 MB, free: 8.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.2914, allocations: 0.5732 MB / 478.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.2918, allocations: 279.5 kB / 478.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.292, allocations: 353.9 kB / 479.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.2932, allocations: 0.5076 MB / 479.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.2946, allocations: 0.8326 MB / 480.5 MB, free: 5.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.2973, allocations: 1.424 MB / 482 MB, free: 4.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2973, allocations: 4 kB / 482 MB, free: 4.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004652/0.3019, allocations: 2.012 MB / 484 MB, free: 2.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.302, allocations: 11.94 kB / 484 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.302, allocations: 8 kB / 484 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.3039, allocations: 0.5146 MB / 484.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3051, allocations: 299.5 kB / 484.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.3164, allocations: 9.503 MB / 494.3 MB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/0.3173, allocations: 76.03 kB / 494.4 MB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3175, allocations: 67.92 kB / 494.4 MB, free: 7.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,rootMeanSquare.mean2.y_last,$PRE.rootMeanSquare.mean2.y_last,rootMeanSquare.mean1.y_last,$PRE.rootMeanSquare.mean1.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005855/0.318, allocations: 357.7 kB / 494.8 MB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.3182, allocations: 127.2 kB / 494.9 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.3229, allocations: 1.887 MB / 496.8 MB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.3229, allocations: 7.969 kB / 496.8 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3229, allocations: 0 / 496.8 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.3234, allocations: 308.1 kB / 497.1 MB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.3235, allocations: 32 kB / 497.1 MB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/0.3243, allocations: 63.95 kB / 497.2 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.3245, allocations: 145.8 kB / 497.4 MB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005332/0.3298, allocations: 2.045 MB / 499.4 MB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00429/0.3341, allocations: 2.338 MB / 0.49 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001163/0.3353, allocations: 0.5505 MB / 0.4905 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005898/0.3359, allocations: 447 kB / 0.4909 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Backend: time 2.91e-07/0.3359, allocations: 0 / 0.4909 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.3397, allocations: 1.812 MB / 0.4927 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 0.004191/0.3438, allocations: 3.274 MB / 0.4959 GB, free: 9.691 MB / 414.1 MB Notification: Performance of Templates: time 0.03659/0.3804, allocations: 22.68 MB / 0.5181 GB, free: 3.051 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.041202173102647] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.Phi', 'coil.i', 'fundamentalWavePermabilitySensor.harmonicFlux.mean1.x', 'fundamentalWavePermabilitySensor.harmonicFlux.mean2.x', 'fundamentalWavePermabilitySensor.harmonicPotential.mean1.x', 'fundamentalWavePermabilitySensor.harmonicPotential.mean2.x', 'r_mLeak.port_p.Phi', 'rootMeanSquare.mean1.x', 'rootMeanSquare.mean2.x', 'sourceQS.pin_p.reference.gamma'] 0.38846112601459026 0.40232817000000004 0.15681776900000002 Calling exit ...