Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001286/0.001286, allocations: 112.6 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.00139/0.00139, allocations: 212.2 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.148 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.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [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.001945/0.001945, allocations: 72.02 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2187, allocations: 53.3 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005771/0.2244, allocations: 4.44 MB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.2272, allocations: 1.66 MB / 438.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.2276, allocations: 11.94 kB / 438.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.2279, allocations: 122.9 kB / 438.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007934/0.2287, allocations: 375.1 kB / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.2292, allocations: 243.6 kB / 438.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2303, allocations: 0.9784 MB / 439.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.2306, allocations: 161.4 kB / 440 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.2311, allocations: 386.7 kB / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.2316, allocations: 430.2 kB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2317, allocations: 96 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.2321, allocations: 215.9 kB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.2323, allocations: 203.3 kB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.2327, allocations: 414.1 kB / 441.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.2339, allocations: 1.171 MB / 442.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2339, allocations: 0 / 442.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2339, allocations: 0 / 442.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2339, allocations: 0 / 442.9 MB, free: 12.51 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002458/0.2364, allocations: 1.118 MB / 444 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2364, allocations: 8.031 kB / 444 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.2367, allocations: 92.45 kB / 444.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.2375, allocations: 0.5304 MB / 444.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/0.2376, allocations: 67.58 kB / 444.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.2378, allocations: 72.48 kB / 444.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.239, allocations: 0.6058 MB / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.239, allocations: 3.938 kB / 445.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.115e-05/0.2391, allocations: 24 kB / 445.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2391, allocations: 12 kB / 445.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2403, allocations: 0.5244 MB / 445.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.2439, allocations: 2.295 MB / 448.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2449, allocations: 453.2 kB / 448.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.2454, allocations: 250 kB / 448.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2455, allocations: 8 kB / 448.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2455, allocations: 42.5 kB / 449 MB, free: 6.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.2455, allocations: 0 / 449 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01357/0.2591, allocations: 3.567 MB / 452.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2591, allocations: 81.67 kB / 452.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.2599, allocations: 0.5332 MB / 453.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.2599, allocations: 41.7 kB / 453.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.2602, allocations: 320.8 kB / 453.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.2604, allocations: 226.1 kB / 453.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.2606, allocations: 114.3 kB / 453.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2608, allocations: 366.8 kB / 454.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.2614, allocations: 241.2 kB / 454.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.262, allocations: 352.4 kB / 454.8 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.2633, allocations: 0.6019 MB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2633, allocations: 4 kB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001627/0.2649, allocations: 0.7452 MB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.2649, allocations: 4 kB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2649, allocations: 4 kB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2651, allocations: 33.16 kB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.2659, allocations: 171.8 kB / 456.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.2671, allocations: 1.433 MB / 457.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.2677, allocations: 39.92 kB / 457.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.2678, allocations: 28.05 kB / 457.8 MB, free: 12.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002863/0.2681, allocations: 197.7 kB / 458 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.2682, allocations: 63.58 kB / 458.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.2701, allocations: 0.8375 MB / 458.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2701, allocations: 3.984 kB / 458.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2701, allocations: 3.938 kB / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.2704, allocations: 212.5 kB / 459.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.81e-05/0.2705, allocations: 16 kB / 459.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.2711, allocations: 39.97 kB / 459.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2712, allocations: 40.5 kB / 459.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003034/0.2743, allocations: 1.079 MB / 460.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002179/0.2764, allocations: 1.268 MB / 461.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006129/0.277, allocations: 292.2 kB / 461.9 MB, free: 8.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004893/0.2775, allocations: 386.9 kB / 462.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of Backend: time 2.61e-07/0.2775, allocations: 0 / 462.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.2791, allocations: 0.5903 MB / 462.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of SimCode: time 0.002397/0.2815, allocations: 1.882 MB / 464.7 MB, free: 5.918 MB / 366.1 MB Notification: Performance of Templates: time 0.01816/0.2997, allocations: 10.47 MB / 475.2 MB, free: 11.55 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.334338453132659] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.core.B', 'transformer.core.MagRel', 'transformer.core.Hstat', 'transformer.winding1.i', 'transformer.winding2.i'] 0.30762565694749355 0.321492451 0.08457415 Calling exit ...