Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.00121/0.00121, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.008908/0.008908, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9262/0.9262, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.44e-05, allocations: 2.281 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.007587/0.007622, allocations: 9.177 MB / 335 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009551/0.01717, allocations: 6.094 MB / 341.1 MB, free: 12 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.01924, allocations: 51.73 kB / 341.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.0205, allocations: 0.4957 MB / 341.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.023, allocations: 0.9577 MB / 342.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.02771, allocations: 2.639 MB / 345.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.03152, allocations: 3.581 MB / 348.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.03234, allocations: 0.4916 MB / 349.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.03543, allocations: 1.938 MB / 351.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.03696, allocations: 1.153 MB / 352.4 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006416/0.0376, allocations: 328 kB / 352.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000956/0.03856, allocations: 0.5932 MB / 353.3 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.03908, allocations: 0.7591 MB / 354 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.03994, allocations: 0.9898 MB / 355 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.04333, allocations: 4.101 MB / 359.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.04334, allocations: 0 / 359.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.04334, allocations: 4 kB / 359.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.266e-05/0.04339, allocations: 0 / 359.1 MB, free: 13.87 MB / 330.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.00445/0.04784, allocations: 3.063 MB / 362.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.04788, allocations: 15.98 kB / 362.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.0484, allocations: 315.1 kB / 362.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.05001, allocations: 1.325 MB / 363.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.05025, allocations: 403.7 kB / 364.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006107/0.05086, allocations: 236.8 kB / 364.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.05354, allocations: 2.654 MB / 367.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.05358, allocations: 0 / 367.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.0537, allocations: 80 kB / 367.2 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.05373, allocations: 48 kB / 367.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.05632, allocations: 1.9 MB / 369.2 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009196/0.06552, allocations: 6.791 MB / 375.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.06803, allocations: 1.958 MB / 377.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.07037, allocations: 1.48 MB / 379.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.07047, allocations: 26 kB / 379.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.849e-05/0.07054, allocations: 60.56 kB / 379.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=208): time 6.602e-06/0.07055, allocations: 3.938 kB / 379.5 MB, free: 8.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=250): time 0.028/0.09855, allocations: 13.7 MB / 393.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.09869, allocations: 389.8 kB / 393.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.1004, allocations: 1.448 MB / 395 MB, free: 9.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/0.1007, allocations: 73.7 kB / 395.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.1012, allocations: 0.8442 MB / 395.9 MB, free: 8.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007654/0.1019, allocations: 0.8714 MB / 396.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/0.1025, allocations: 408.6 kB / 397.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.1026, allocations: 309.1 kB / 397.5 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.104, allocations: 0.9924 MB / 398.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.1055, allocations: 1.494 MB / 400 MB, free: 4.109 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.01822/0.1237, allocations: 9.267 MB / 409.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1238, allocations: 0 / 409.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.003966/0.1277, allocations: 2.925 MB / 412.2 MB, free: 7.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.1278, allocations: 8 kB / 412.2 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.1278, allocations: 8.078 kB / 412.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.1284, allocations: 352.9 kB / 412.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.1297, allocations: 0.5461 MB / 413.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.136, allocations: 10.13 MB / 423.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.1377, allocations: 128.1 kB / 423.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.1378, allocations: 83.94 kB / 423.4 MB, free: 11.9 MB / 394.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.0009872/0.1388, allocations: 476.7 kB / 423.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.1392, allocations: 210.7 kB / 424.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/0.1441, allocations: 3.418 MB / 427.5 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.1441, allocations: 28 kB / 427.5 MB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1441, allocations: 7.984 kB / 427.5 MB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.1441, allocations: 11.95 kB / 427.5 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008393/0.1525, allocations: 5.501 MB / 433 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.1525, allocations: 0 / 433 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.1536, allocations: 427.5 kB / 433.5 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/0.1563, allocations: 1.194 MB / 434.7 MB, free: 412 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.1565, allocations: 59.97 kB / 434.7 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1763/0.3329, allocations: 17.55 MB / 452.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3329, allocations: 4.125 kB / 452.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/0.34, allocations: 4.892 MB / 457.2 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009649/0.341, allocations: 465 kB / 457.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.3412, allocations: 66.73 kB / 457.7 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.3421, allocations: 134 kB / 457.8 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004278/0.3426, allocations: 206.4 kB / 458 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.3427, allocations: 76.45 kB / 458.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000972/0.3436, allocations: 0.9915 MB / 459.1 MB, free: 110.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3436, allocations: 0 / 459.1 MB, free: 110.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001938/0.3456, allocations: 0.6949 MB / 459.8 MB, free: 110.8 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.0004593/0.346, allocations: 267.5 kB / 460 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.3495, allocations: 3.244 MB / 463.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3495, allocations: 3.375 kB / 463.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.3515, allocations: 2.504 MB / 465.8 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.3529, allocations: 336.5 kB / 466.1 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.3582, allocations: 4.989 MB / 471.1 MB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.3589, allocations: 1.003 MB / 472.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/0.3596, allocations: 173.1 kB / 472.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3596, allocations: 0 / 472.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of Templates: time 0.05008/0.4096, allocations: 97.48 MB / 0.5564 GB, free: 3.371 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.378236203454435]