Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001501/0.001501, allocations: 111.3 kB / 21.18 MB, free: 0.7422 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.001614/0.001614, allocations: 212.8 kB / 24.48 MB, free: 4.191 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [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.001926/0.001926, allocations: 71.83 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2212, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004154/0.2253, allocations: 2.856 MB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2266, allocations: 0.7983 MB / 435.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2267, allocations: 4 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.2269, allocations: 59.44 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.2271, allocations: 103.2 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2274, allocations: 111.8 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.2278, allocations: 382.6 kB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.228, allocations: 94.92 kB / 436.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.2282, allocations: 163.4 kB / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2285, allocations: 171.2 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.2285, allocations: 36 kB / 436.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.2286, allocations: 36 kB / 436.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2286, allocations: 71.7 kB / 436.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2288, allocations: 175.1 kB / 437.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.2292, allocations: 399.8 kB / 437.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2292, allocations: 0 / 437.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2292, allocations: 0 / 437.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2292, allocations: 0 / 437.5 MB, free: 1.906 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.001188/0.2304, allocations: 0.6467 MB / 438.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2305, allocations: 8.031 kB / 438.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.2305, allocations: 44.64 kB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.2309, allocations: 280.6 kB / 438.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.2309, allocations: 25.03 kB / 438.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.231, allocations: 32.38 kB / 438.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.2316, allocations: 298.3 kB / 438.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2316, allocations: 0 / 438.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.2316, allocations: 12 kB / 438.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2316, allocations: 8 kB / 438.8 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.2322, allocations: 246.5 kB / 439.1 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.234, allocations: 1.112 MB / 440.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.2344, allocations: 165 kB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.2345, allocations: 56.83 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2346, allocations: 4 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2346, allocations: 34.56 kB / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.2346, allocations: 0 / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002096/0.2367, allocations: 0.5907 MB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2367, allocations: 51.41 kB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.237, allocations: 274.6 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.237, allocations: 29.7 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2372, allocations: 236 kB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.2373, allocations: 75.38 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.2374, allocations: 65.44 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2375, allocations: 342.8 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.2378, allocations: 95.92 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.2382, allocations: 188.2 kB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.2389, allocations: 309.1 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2389, allocations: 0 / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009151/0.2398, allocations: 397.4 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2398, allocations: 4 kB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2398, allocations: 7.938 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.2401, allocations: 61.67 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.2404, allocations: 67.89 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.2426, allocations: 2.834 MB / 446 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.2429, allocations: 27.94 kB / 446 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.2429, allocations: 15.98 kB / 446 MB, free: 8.68 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.0001581/0.2431, allocations: 153.7 kB / 446.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.2431, allocations: 27.8 kB / 446.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.2432, allocations: 38.23 kB / 446.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2432, allocations: 0 / 446.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2432, allocations: 0 / 446.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.2433, allocations: 104.9 kB / 446.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2433, allocations: 4.141 kB / 446.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2435, allocations: 15.92 kB / 446.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.2436, allocations: 27.89 kB / 446.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009435/0.2445, allocations: 369.2 kB / 446.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009715/0.2455, allocations: 0.5023 MB / 447.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002691/0.2458, allocations: 91.92 kB / 447.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.246, allocations: 186 kB / 447.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of Backend: time 3.7e-07/0.246, allocations: 0 / 447.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009817/0.2469, allocations: 479.4 kB / 448 MB, free: 6.625 MB / 350.1 MB Notification: Performance of SimCode: time 0.001097/0.248, allocations: 1.02 MB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of Templates: time 0.007396/0.2554, allocations: 3.328 MB / 452.4 MB, free: 2.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1329706949181855] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.2633284400217235 0.277164173 0.044976953 Calling exit ...