Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001272/0.001272, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.00142/0.00142, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 43.94 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2284, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005644/0.234, allocations: 3.982 MB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.2367, allocations: 1.562 MB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.237, allocations: 11.94 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.2373, allocations: 118.8 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.2381, allocations: 371.6 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.2385, allocations: 251.6 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000954/0.2395, allocations: 0.9669 MB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.2398, allocations: 166.1 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.2402, allocations: 398.6 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.2408, allocations: 422.3 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.2409, allocations: 96 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.2413, allocations: 223.9 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2414, allocations: 199.3 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.2418, allocations: 342.5 kB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.243, allocations: 1.183 MB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.243, allocations: 0 / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.243, allocations: 0 / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.243, allocations: 0 / 442.6 MB, free: 12.45 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.002519/0.2455, allocations: 1.045 MB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2456, allocations: 8.031 kB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.2458, allocations: 88.45 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.2466, allocations: 485.3 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.2468, allocations: 119 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.247, allocations: 72.48 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2482, allocations: 0.7062 MB / 445.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2482, allocations: 0 / 445.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.2483, allocations: 20 kB / 445.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2483, allocations: 16 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2495, allocations: 0.5204 MB / 445.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.2528, allocations: 1.979 MB / 447.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2538, allocations: 453.2 kB / 448.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/0.2544, allocations: 250 kB / 448.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2544, allocations: 4 kB / 448.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2544, allocations: 42.56 kB / 448.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.2544, allocations: 0 / 448.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0139/0.2683, allocations: 3.322 MB / 451.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.2684, allocations: 85.61 kB / 451.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.2691, allocations: 0.5251 MB / 452.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.2691, allocations: 37.7 kB / 452.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.2694, allocations: 316.8 kB / 452.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.2696, allocations: 218.1 kB / 452.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.2698, allocations: 122.2 kB / 453 MB, free: 1.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.27, allocations: 370.8 kB / 453.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.2705, allocations: 241.2 kB / 453.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.2712, allocations: 356.5 kB / 453.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.2724, allocations: 0.5993 MB / 454.5 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2724, allocations: 3.938 kB / 454.5 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001609/0.2741, allocations: 0.7437 MB / 455.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2741, allocations: 7.938 kB / 455.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2741, allocations: 4 kB / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.2742, allocations: 29.16 kB / 455.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/0.2751, allocations: 175.8 kB / 455.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.2762, allocations: 1.288 MB / 456.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.2768, allocations: 47.98 kB / 456.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.2769, allocations: 31.97 kB / 456.8 MB, free: 13.67 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.0002902/0.2772, allocations: 201.6 kB / 457 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2773, allocations: 55.67 kB / 457.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.2792, allocations: 0.8395 MB / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2792, allocations: 3.984 kB / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2792, allocations: 0 / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.2795, allocations: 131.5 kB / 458 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.2796, allocations: 19.92 kB / 458.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.2803, allocations: 43.97 kB / 458.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2804, allocations: 40.58 kB / 458.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003049/0.2834, allocations: 1.067 MB / 459.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002208/0.2856, allocations: 1.267 MB / 460.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006539/0.2863, allocations: 289.1 kB / 460.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004833/0.2868, allocations: 367.1 kB / 461.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of Backend: time 4.01e-07/0.2868, allocations: 0 / 461.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2884, allocations: 0.5867 MB / 461.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of SimCode: time 0.0025/0.2909, allocations: 1.858 MB / 463.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of Templates: time 0.01912/0.31, allocations: 11.11 MB / 474.7 MB, free: 11.82 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.465171420997649] 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.3180279350053752 0.332546214 0.086488646 Calling exit ...