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.QuadraticCoreAirgap.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.001316/0.001316, allocations: 112.2 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.0014/0.0014, allocations: 207 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.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [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.001931/0.001931, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2184, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004908/0.2233, allocations: 3.559 MB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2249, allocations: 0.9736 MB / 436.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.2251, allocations: 4 kB / 436.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.2253, allocations: 95.09 kB / 436.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.2257, allocations: 170.7 kB / 436.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.226, allocations: 175.7 kB / 437 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.2267, allocations: 0.6332 MB / 437.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.2269, allocations: 143.5 kB / 437.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.2272, allocations: 243.1 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2275, allocations: 274.6 kB / 438.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.2276, allocations: 55.94 kB / 438.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.2277, allocations: 56 kB / 438.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2278, allocations: 115.5 kB / 438.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.228, allocations: 298.4 kB / 438.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.2287, allocations: 0.6339 MB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2287, allocations: 0 / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2287, allocations: 0 / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2287, allocations: 0 / 439.4 MB, free: 15.98 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001532/0.2303, allocations: 0.8725 MB / 440.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2303, allocations: 8.031 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2304, allocations: 68.52 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.2309, allocations: 359.9 kB / 440.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.2309, allocations: 37.69 kB / 440.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.231, allocations: 48.38 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.2318, allocations: 434.4 kB / 441.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2319, allocations: 4 kB / 441.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.2319, allocations: 20 kB / 441.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2319, allocations: 12 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.2328, allocations: 397 kB / 441.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.2353, allocations: 1.589 MB / 443.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.2361, allocations: 388.7 kB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.2365, allocations: 161.4 kB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.2365, allocations: 12.39 kB / 443.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2366, allocations: 34.89 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.784e-06/0.2366, allocations: 0 / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003416/0.24, allocations: 1.191 MB / 445 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.24, allocations: 59.97 kB / 445.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.2405, allocations: 409.5 kB / 445.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2405, allocations: 37.69 kB / 445.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2408, allocations: 312.7 kB / 445.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.2409, allocations: 198.3 kB / 446 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2411, allocations: 110.3 kB / 446.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2413, allocations: 358.8 kB / 446.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.2417, allocations: 177.1 kB / 446.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.2422, allocations: 303 kB / 447 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009631/0.2432, allocations: 494.5 kB / 447.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2432, allocations: 4 kB / 447.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001548/0.2448, allocations: 0.7384 MB / 448.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2448, allocations: 12.03 kB / 448.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2448, allocations: 7.938 kB / 448.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.2453, allocations: 177.6 kB / 448.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.2458, allocations: 111.8 kB / 448.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.2503, allocations: 4.285 MB / 452.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.2507, allocations: 39.98 kB / 452.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2508, allocations: 20 kB / 452.8 MB, free: 1.91 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.251, allocations: 185.7 kB / 453 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.2511, allocations: 47.67 kB / 453.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2512, allocations: 69 kB / 453.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2512, allocations: 3.938 kB / 453.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2512, allocations: 0 / 453.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2513, allocations: 124.8 kB / 453.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.2514, allocations: 12 kB / 453.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.2517, allocations: 23.97 kB / 453.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.2518, allocations: 52.47 kB / 453.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001781/0.2536, allocations: 0.6994 MB / 454 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001465/0.2551, allocations: 0.8379 MB / 454.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00039/0.2555, allocations: 164.4 kB / 455 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.2558, allocations: 283.2 kB / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Backend: time 4.51e-07/0.2558, allocations: 0 / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.2573, allocations: 0.7133 MB / 456 MB, free: 14.63 MB / 366.1 MB Notification: Performance of SimCode: time 0.001743/0.259, allocations: 1.475 MB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01196/0.271, allocations: 6.064 MB / 463.6 MB, free: 7.051 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.301645366940647] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.2788751721382141 0.29250686099999995 0.060880373 Calling exit ...