Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002996/0.002996, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8345/0.8345, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.92e-05, allocations: 6.219 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.006817/0.006836, allocations: 9.141 MB / 328.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008052/0.01489, allocations: 5.993 MB / 334.8 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.01582, allocations: 59.56 kB / 334.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.01661, allocations: 491.8 kB / 335.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.01794, allocations: 0.9693 MB / 336.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.02119, allocations: 2.595 MB / 338.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.02379, allocations: 3.566 MB / 342.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.02438, allocations: 491.3 kB / 343 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.02612, allocations: 1.926 MB / 344.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/0.02711, allocations: 1.149 MB / 346.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.0274, allocations: 328 kB / 346.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.02808, allocations: 0.5932 MB / 347 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004253/0.0285, allocations: 0.7514 MB / 347.7 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.02917, allocations: 0.9937 MB / 348.7 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.03177, allocations: 4.093 MB / 352.8 MB, free: 4.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.03177, allocations: 4 kB / 352.8 MB, free: 4.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03177, allocations: 4 kB / 352.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.0318, allocations: 0 / 352.8 MB, free: 4.566 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004021/0.03582, allocations: 3.048 MB / 355.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.03586, allocations: 12.03 kB / 355.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.03616, allocations: 291.2 kB / 356.2 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.03768, allocations: 1.31 MB / 357.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.03787, allocations: 399.7 kB / 357.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.03819, allocations: 236.7 kB / 358.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.04096, allocations: 2.652 MB / 360.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.04099, allocations: 4 kB / 360.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.04112, allocations: 80 kB / 360.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.04115, allocations: 48 kB / 360.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.04348, allocations: 1.9 MB / 362.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.05038, allocations: 6.795 MB / 369.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.05253, allocations: 1.961 MB / 371.5 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.05423, allocations: 1.492 MB / 373 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/0.05431, allocations: 26 kB / 373.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.05435, allocations: 64.5 kB / 373.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=208): time 3.106e-06/0.05435, allocations: 0 / 373.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=250): time 0.02491/0.07926, allocations: 13.68 MB / 386.8 MB, free: 1.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.07938, allocations: 397.8 kB / 387.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.08061, allocations: 1.435 MB / 388.6 MB, free: 4 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.08073, allocations: 77.69 kB / 388.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/0.08134, allocations: 0.8247 MB / 389.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.08176, allocations: 0.8791 MB / 390.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.08219, allocations: 408.6 kB / 390.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.08225, allocations: 301.1 kB / 391.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.08351, allocations: 0.9963 MB / 392.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.08497, allocations: 1.486 MB / 393.6 MB, free: 10.89 MB / 362.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/0.1017, allocations: 9.275 MB / 402.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1017, allocations: 0 / 402.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.003743/0.1054, allocations: 2.925 MB / 405.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1054, allocations: 8 kB / 405.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1055, allocations: 7.938 kB / 405.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.106, allocations: 353 kB / 406.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.1072, allocations: 0.5461 MB / 406.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.1125, allocations: 10.12 MB / 416.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/0.1134, allocations: 136 kB / 416.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.1135, allocations: 76.36 kB / 417 MB, free: 2.672 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0006787/0.1142, allocations: 484.1 kB / 417.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.1144, allocations: 210.7 kB / 417.7 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.1193, allocations: 3.414 MB / 421.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1193, allocations: 28 kB / 421.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1193, allocations: 4.125 kB / 421.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.1193, allocations: 19.95 kB / 421.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007287/0.1266, allocations: 5.493 MB / 426.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.1266, allocations: 4 kB / 426.7 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.1276, allocations: 431.4 kB / 427.1 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/0.1301, allocations: 1.19 MB / 428.3 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.1303, allocations: 63.98 kB / 428.3 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.1419, allocations: 17.56 MB / 445.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1419, allocations: 0 / 445.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1377/0.2796, allocations: 4.89 MB / 450.8 MB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.2809, allocations: 458.2 kB / 451.2 MB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.2811, allocations: 57.2 kB / 451.3 MB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.2821, allocations: 132.9 kB / 451.4 MB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/0.2826, allocations: 216.6 kB / 451.6 MB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.2827, allocations: 69.56 kB / 451.7 MB, free: 119.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009949/0.2837, allocations: 0.9914 MB / 452.7 MB, free: 119 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2837, allocations: 0 / 452.7 MB, free: 119 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001573/0.2853, allocations: 0.6927 MB / 453.4 MB, free: 119 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.2856, allocations: 269.7 kB / 453.6 MB, free: 118.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.2885, allocations: 3.237 MB / 456.9 MB, free: 118 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2885, allocations: 3.75 kB / 456.9 MB, free: 118 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.2902, allocations: 2.506 MB / 459.4 MB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.2912, allocations: 344.2 kB / 459.7 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.2953, allocations: 4.981 MB / 464.7 MB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.2958, allocations: 0.9956 MB / 465.7 MB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.2962, allocations: 169.4 kB / 465.9 MB, free: 112.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2962, allocations: 0 / 465.9 MB, free: 112.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03822/0.3345, allocations: 97.02 MB / 0.5497 GB, free: 16.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.704175260849297]