Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.001635/0.001635, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001806/0.001806, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+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(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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2024, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.009634/0.2121, allocations: 7.005 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.217, allocations: 3.002 MB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.2174, allocations: 31.88 kB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.2205, allocations: 1.255 MB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.2219, allocations: 0.6343 MB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.2246, allocations: 1.432 MB / 445.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.2264, allocations: 1.706 MB / 447.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.228, allocations: 1.167 MB / 448.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.2287, allocations: 0.6889 MB / 449.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.2297, allocations: 0.7973 MB / 450.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.2299, allocations: 172 kB / 450.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007923/0.2307, allocations: 0.4917 MB / 450.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.231, allocations: 374.7 kB / 451.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.2316, allocations: 0.6415 MB / 451.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.2341, allocations: 2.347 MB / 454.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2341, allocations: 0 / 454.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2341, allocations: 0 / 454.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.2341, allocations: 4 kB / 454.1 MB, free: 0.8359 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: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.006539/0.2407, allocations: 2.965 MB / 457.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2407, allocations: 11.98 kB / 457.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.245, allocations: 0.5814 MB / 457.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.2467, allocations: 0.8149 MB / 458.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.2469, allocations: 174.3 kB / 458.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.2471, allocations: 155.9 kB / 458.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.25, allocations: 1.389 MB / 460.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/0.25, allocations: 8 kB / 460.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.2502, allocations: 59.98 kB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.2502, allocations: 36 kB / 460.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.253, allocations: 1.272 MB / 461.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007902/0.2609, allocations: 3.918 MB / 465.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.2638, allocations: 1.188 MB / 466.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.265, allocations: 0.5119 MB / 467.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.2651, allocations: 36.97 kB / 467.2 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/0.2666, allocations: 0.7796 MB / 468 MB, free: 2.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 3.517e-06/0.2666, allocations: 0 / 468 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.01597/0.2826, allocations: 5.329 MB / 473.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2827, allocations: 153.8 kB / 473.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.2836, allocations: 0.6486 MB / 474.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.2837, allocations: 65.69 kB / 474.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.2842, allocations: 0.5991 MB / 474.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.2847, allocations: 0.5616 MB / 475.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/0.2852, allocations: 279.5 kB / 475.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2853, allocations: 349.9 kB / 475.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.2865, allocations: 0.4998 MB / 476.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.288, allocations: 0.8905 MB / 477.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.2907, allocations: 1.416 MB / 478.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2907, allocations: 4 kB / 478.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004808/0.2956, allocations: 2.011 MB / 480.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2956, allocations: 8 kB / 480.8 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.2956, allocations: 11.94 kB / 480.8 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.2977, allocations: 0.5263 MB / 481.3 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.299, allocations: 283.6 kB / 481.6 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.3102, allocations: 8.903 MB / 490.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009384/0.3112, allocations: 75.98 kB / 490.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3113, allocations: 71.97 kB / 490.6 MB, free: 11.18 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.0005767/0.3119, allocations: 353.4 kB / 491 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3121, allocations: 123.2 kB / 491.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.3169, allocations: 1.895 MB / 493 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.3169, allocations: 7.969 kB / 493 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3169, allocations: 0 / 493 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.3174, allocations: 223.1 kB / 493.2 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.3176, allocations: 40 kB / 493.3 MB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/0.3183, allocations: 55.95 kB / 493.3 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.3186, allocations: 153.7 kB / 493.5 MB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005432/0.324, allocations: 2.033 MB / 495.5 MB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004376/0.3284, allocations: 2.324 MB / 497.8 MB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001198/0.3296, allocations: 0.5544 MB / 498.4 MB, free: 3.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005405/0.3301, allocations: 431.1 kB / 498.8 MB, free: 2.949 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.3301, allocations: 0 / 498.8 MB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.3338, allocations: 1.795 MB / 0.4889 GB, free: 1.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.004193/0.338, allocations: 3.269 MB / 0.4921 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Templates: time 0.04032/0.3783, allocations: 24.99 MB / 0.5165 GB, free: 4.949 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.25400757099851] 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.3862430500012124 0.40075599399999995 0.163606561 Calling exit ...