Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001587, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 214.1 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 55.91 kB / 376.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.255, allocations: 53.32 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005653/0.2606, allocations: 4.404 MB / 434.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2632, allocations: 1.652 MB / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.2635, allocations: 11.94 kB / 436.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2639, allocations: 126.8 kB / 436.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.2646, allocations: 367.2 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.2651, allocations: 251.6 kB / 437 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009576/0.266, allocations: 0.9745 MB / 438 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.2663, allocations: 165.4 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.2668, allocations: 386.7 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.2673, allocations: 422.3 kB / 438.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.2674, allocations: 100 kB / 439 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.2678, allocations: 223.9 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.268, allocations: 191.4 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.2684, allocations: 422 kB / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2696, allocations: 1.171 MB / 441 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2696, allocations: 0 / 441 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2696, allocations: 0 / 441 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.2696, allocations: 4 kB / 441 MB, free: 12.77 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.002392/0.272, allocations: 1.121 MB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.272, allocations: 8.031 kB / 442.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.2723, allocations: 92.45 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008464/0.2731, allocations: 0.5188 MB / 442.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2732, allocations: 75.56 kB / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2734, allocations: 64.5 kB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2746, allocations: 0.6058 MB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2746, allocations: 4 kB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.2747, allocations: 20 kB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2747, allocations: 12 kB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.2759, allocations: 0.5282 MB / 444 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.2793, allocations: 2.307 MB / 446.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/0.2803, allocations: 460.8 kB / 446.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.2808, allocations: 250 kB / 447.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.2809, allocations: 4 kB / 447.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.2809, allocations: 38.56 kB / 447.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.195e-06/0.2809, allocations: 4 kB / 447.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0132/0.2941, allocations: 3.557 MB / 450.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.2942, allocations: 89.67 kB / 450.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.2949, allocations: 0.5371 MB / 451.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.295, allocations: 33.7 kB / 451.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.2952, allocations: 324.9 kB / 451.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.2954, allocations: 218.1 kB / 451.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.2956, allocations: 114.3 kB / 452 MB, free: 1.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2958, allocations: 366.8 kB / 452.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.2964, allocations: 245.2 kB / 452.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.297, allocations: 352.3 kB / 452.9 MB, free: 460 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2982, allocations: 0.6021 MB / 453.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2982, allocations: 0 / 453.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001574/0.2998, allocations: 0.7455 MB / 454.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2998, allocations: 12.03 kB / 454.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2998, allocations: 0 / 454.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.3, allocations: 32.83 kB / 454.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008113/0.3008, allocations: 167.8 kB / 454.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.302, allocations: 1.422 MB / 455.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.3026, allocations: 51.92 kB / 455.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.3027, allocations: 27.98 kB / 455.9 MB, free: 13.2 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.0003048/0.303, allocations: 201.7 kB / 456.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.3031, allocations: 63.62 kB / 456.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.305, allocations: 0.8297 MB / 457 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.305, allocations: 11.94 kB / 457 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.305, allocations: 0 / 457 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.305, allocations: 3.984 kB / 457.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.3088, allocations: 1.845 MB / 458.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3088, allocations: 4 kB / 458.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.3093, allocations: 107.9 kB / 459 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.3117, allocations: 464.4 kB / 459.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.3117, allocations: 15.98 kB / 459.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.317, allocations: 3.153 MB / 462.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.317, allocations: 0 / 462.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.32, allocations: 1.367 MB / 464 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.3203, allocations: 216.6 kB / 464.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.3204, allocations: 12 kB / 464.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.321, allocations: 43.97 kB / 464.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3211, allocations: 44.59 kB / 464.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.3212, allocations: 31.91 kB / 464.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005026/0.3217, allocations: 386.9 kB / 464.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3217, allocations: 0 / 464.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007217/0.3224, allocations: 188 kB / 464.9 MB, free: 3.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * 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 simulation (52): * Single equations (assignments): 51 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/0.3227, allocations: 159 kB / 465.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.3242, allocations: 0.7052 MB / 465.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3242, allocations: 4 kB / 465.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.3251, allocations: 498.2 kB / 466.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.3258, allocations: 94.03 kB / 466.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.3286, allocations: 1.528 MB / 467.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.3291, allocations: 0.9004 MB / 468.8 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3293, allocations: 59.41 kB / 468.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3293, allocations: 0 / 468.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01552/0.3448, allocations: 11.9 MB / 480.7 MB, free: 4.109 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches