Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001553/0.001553, allocations: 106.8 kB / 21.19 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.001605/0.001605, allocations: 213.3 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2144, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004784/0.2192, allocations: 3.241 MB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2207, allocations: 0.9153 MB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2209, allocations: 11.94 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.2211, allocations: 99.09 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.2215, allocations: 165.7 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2219, allocations: 191.6 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.2225, allocations: 0.6232 MB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.2228, allocations: 146 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.223, allocations: 243 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.2233, allocations: 278.6 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.2234, allocations: 52 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.2235, allocations: 52 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2236, allocations: 127.5 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2238, allocations: 226.9 kB / 438.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.2245, allocations: 0.6415 MB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2245, allocations: 0 / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2245, allocations: 0 / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2245, allocations: 0 / 439.3 MB, free: 15.69 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.001592/0.2261, allocations: 0.8089 MB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2262, allocations: 8.031 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.2263, allocations: 64.52 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.2267, allocations: 298 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.2268, allocations: 37.69 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.2269, allocations: 48.38 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.2278, allocations: 446.4 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2278, allocations: 0 / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.2278, allocations: 20 kB / 441 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2279, allocations: 12 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.2288, allocations: 389 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.2312, allocations: 1.262 MB / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.2319, allocations: 307.4 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.2324, allocations: 161.4 kB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.2324, allocations: 4.328 kB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2324, allocations: 38.89 kB / 443.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.2324, allocations: 0 / 443.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003495/0.2359, allocations: 1.195 MB / 444.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.236, allocations: 63.84 kB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.2364, allocations: 401.5 kB / 444.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.2365, allocations: 37.7 kB / 444.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.2367, allocations: 320.5 kB / 445.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.2368, allocations: 198.3 kB / 445.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.237, allocations: 110.3 kB / 445.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2372, allocations: 358.8 kB / 445.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.2377, allocations: 185.2 kB / 446 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.2382, allocations: 299.2 kB / 446.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2392, allocations: 0.4922 MB / 446.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2392, allocations: 4 kB / 446.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001557/0.2408, allocations: 0.725 MB / 447.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2408, allocations: 4 kB / 447.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2408, allocations: 7.938 kB / 447.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.2414, allocations: 188.8 kB / 447.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.2419, allocations: 107.9 kB / 447.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.2463, allocations: 3.981 MB / 451.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.2467, allocations: 35.92 kB / 451.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.2468, allocations: 23.94 kB / 451.9 MB, free: 2.625 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.0002311/0.247, allocations: 181.8 kB / 452.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.2471, allocations: 47.72 kB / 452.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.2472, allocations: 61.02 kB / 452.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2472, allocations: 0 / 452.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2472, allocations: 4 kB / 452.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.2473, allocations: 51.66 kB / 452.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.2474, allocations: 7.938 kB / 452.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.2477, allocations: 28.16 kB / 452.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2478, allocations: 52.38 kB / 452.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001799/0.2496, allocations: 0.6998 MB / 453 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001501/0.2511, allocations: 0.8283 MB / 453.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004104/0.2515, allocations: 171.9 kB / 454 MB, free: 484 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003003/0.2518, allocations: 267.2 kB / 454.3 MB, free: 220 kB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2518, allocations: 7.938 kB / 454.3 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.2533, allocations: 0.7101 MB / 455 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 0.001712/0.255, allocations: 1.464 MB / 456.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01297/0.268, allocations: 6.746 MB / 463.2 MB, free: 7.234 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.359323979995679] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.27584697900601896 0.290391233 0.062872261 Calling exit ...