Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001323/0.001323, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001441/0.001441, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.812 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 53.37 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004488/0.2355, allocations: 2.661 MB / 435 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.237, allocations: 0.7554 MB / 435.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2373, allocations: 4 kB / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.2375, allocations: 67.42 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.2379, allocations: 106.1 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2382, allocations: 107.8 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.2386, allocations: 398.5 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.2388, allocations: 103.3 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.2391, allocations: 167.4 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2393, allocations: 167.2 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.2394, allocations: 36 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.115e-05/0.2394, allocations: 35.94 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.2395, allocations: 83.73 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.2397, allocations: 143.3 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.2401, allocations: 409.9 kB / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2401, allocations: 0 / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2401, allocations: 0 / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2401, allocations: 4 kB / 437.6 MB, free: 1.539 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001276/0.2414, allocations: 0.5869 MB / 438.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2414, allocations: 12.02 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.2415, allocations: 36.7 kB / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.2419, allocations: 229.6 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.2419, allocations: 29.03 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.242, allocations: 32.38 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.2426, allocations: 290.4 kB / 438.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2427, allocations: 3.984 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2427, allocations: 12 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2427, allocations: 4 kB / 438.8 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.2433, allocations: 258.5 kB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.245, allocations: 0.8703 MB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.2454, allocations: 146.5 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2456, allocations: 68.72 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2457, allocations: 3.938 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2457, allocations: 38.56 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2457, allocations: 0 / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002173/0.2479, allocations: 0.5902 MB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.2479, allocations: 55.41 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.2483, allocations: 289.7 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2483, allocations: 29.7 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2485, allocations: 239.9 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.2486, allocations: 83.36 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2487, allocations: 65.66 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2488, allocations: 338.8 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.2491, allocations: 99.92 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.2495, allocations: 195.9 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.2502, allocations: 309.1 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2502, allocations: 4 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009091/0.2511, allocations: 393.4 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2511, allocations: 8 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2512, allocations: 7.984 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.2514, allocations: 57.67 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.2518, allocations: 79.83 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.2541, allocations: 2.576 MB / 445.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.2544, allocations: 32.09 kB / 445.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2544, allocations: 16 kB / 445.6 MB, free: 9.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.2546, allocations: 157.7 kB / 445.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.2546, allocations: 27.8 kB / 445.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.2547, allocations: 34.27 kB / 445.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2547, allocations: 0 / 445.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2547, allocations: 0 / 445.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.2548, allocations: 23.8 kB / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2548, allocations: 8 kB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.255, allocations: 15.98 kB / 445.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.2551, allocations: 23.95 kB / 445.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009417/0.256, allocations: 370.2 kB / 446.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009606/0.257, allocations: 0.4967 MB / 446.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002648/0.2573, allocations: 84 kB / 446.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.2575, allocations: 197.2 kB / 447 MB, free: 7.555 MB / 350.1 MB Notification: Performance of Backend: time 6.21e-07/0.2575, allocations: 0 / 447 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2585, allocations: 484.2 kB / 447.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of SimCode: time 0.001229/0.2597, allocations: 1.02 MB / 448.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of Templates: time 0.008372/0.2681, allocations: 3.879 MB / 452.4 MB, free: 2.164 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.362837266002316] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.2759710919999634 0.29078321799999995 0.047619207000000004 Calling exit ...