Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001877/0.001877, allocations: 106.8 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.002285/0.002285, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2176, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004168/0.2217, allocations: 2.657 MB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2231, allocations: 0.7555 MB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2232, allocations: 4 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.2235, allocations: 55.45 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.2237, allocations: 110.8 kB / 435.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.224, allocations: 107.9 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.2244, allocations: 386.5 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.2246, allocations: 95.34 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.2249, allocations: 171.3 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2251, allocations: 163.3 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.2251, allocations: 35.94 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.2252, allocations: 32 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.2253, allocations: 83.73 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2254, allocations: 139.3 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.2258, allocations: 405.3 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2258, allocations: 0 / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2258, allocations: 0 / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2258, allocations: 4 kB / 437.5 MB, free: 1.512 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.001173/0.227, allocations: 0.5676 MB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.227, allocations: 12.03 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.2271, allocations: 36.7 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.2275, allocations: 222.8 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.2275, allocations: 29.03 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.2276, allocations: 32.36 kB / 438.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.2282, allocations: 290.4 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2282, allocations: 0 / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.2283, allocations: 16 kB / 438.7 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2283, allocations: 11.94 kB / 438.7 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.2289, allocations: 250.5 kB / 439 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.2306, allocations: 0.8664 MB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.2309, allocations: 146.5 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2311, allocations: 60.83 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.2312, allocations: 15.91 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2312, allocations: 34.5 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.2312, allocations: 0 / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002116/0.2333, allocations: 0.5907 MB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.2334, allocations: 55.34 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.2337, allocations: 273.7 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.2337, allocations: 33.64 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.2338, allocations: 228 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2339, allocations: 83.31 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.234, allocations: 69.44 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2342, allocations: 338.8 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.2345, allocations: 103.9 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.2348, allocations: 184.2 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.2355, allocations: 301.1 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.2355, allocations: 8 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008826/0.2364, allocations: 393.4 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2364, allocations: 4 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2364, allocations: 4 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.2367, allocations: 57.67 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.237, allocations: 71.89 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.2392, allocations: 2.584 MB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.2395, allocations: 27.97 kB / 445.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2395, allocations: 8 kB / 445.4 MB, free: 9.059 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.0001675/0.2397, allocations: 157.8 kB / 445.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.2397, allocations: 31.75 kB / 445.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.2398, allocations: 30.27 kB / 445.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2398, allocations: 0 / 445.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2398, allocations: 0 / 445.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.2398, allocations: 27.84 kB / 445.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.2399, allocations: 4 kB / 445.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.2401, allocations: 15.98 kB / 445.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.2402, allocations: 31.89 kB / 445.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009425/0.2411, allocations: 362.3 kB / 446.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009449/0.2421, allocations: 0.5012 MB / 446.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002664/0.2423, allocations: 83.94 kB / 446.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.2425, allocations: 181.2 kB / 446.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2425, allocations: 4 kB / 446.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.2435, allocations: 474.2 kB / 447.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of SimCode: time 0.001152/0.2447, allocations: 1.032 MB / 448.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Templates: time 0.008223/0.2529, allocations: 3.75 MB / 452.1 MB, free: 2.316 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.41277322100359] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.26077659399743425 0.275521769 0.046656101000000005 Calling exit ...