Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.0008225/0.0008225, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 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.000778/0.000778, allocations: 157.4 kB / 25.44 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8722/0.8722, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 3.984 kB / 299.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.388e-05, allocations: 2.281 kB / 299.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0069/0.006923, allocations: 9.056 MB / 308.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007384/0.01431, allocations: 6.029 MB / 314.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/0.01527, allocations: 47.69 kB / 314.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.01611, allocations: 491.8 kB / 315.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.01751, allocations: 0.9654 MB / 316.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.02094, allocations: 2.592 MB / 318.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.02342, allocations: 3.57 MB / 322.5 MB, free: 164 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.02395, allocations: 495.3 kB / 322.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.02525, allocations: 1.926 MB / 324.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009048/0.02616, allocations: 1.153 MB / 326 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.02641, allocations: 331.9 kB / 326.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/0.02703, allocations: 0.5855 MB / 326.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.02745, allocations: 0.7514 MB / 327.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.02805, allocations: 0.9859 MB / 328.7 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.03061, allocations: 4.101 MB / 332.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.03061, allocations: 4 kB / 332.8 MB, free: 5.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03061, allocations: 0 / 332.8 MB, free: 5.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.03064, allocations: 0 / 332.8 MB, free: 5.797 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.003595/0.03423, allocations: 3.052 MB / 335.8 MB, free: 2.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.03427, allocations: 15.98 kB / 335.8 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.03455, allocations: 287.2 kB / 336.1 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.03595, allocations: 1.317 MB / 337.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.03617, allocations: 395.7 kB / 337.8 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.0365, allocations: 240.7 kB / 338.1 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.0389, allocations: 2.646 MB / 340.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.03893, allocations: 7.984 kB / 340.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.03906, allocations: 80 kB / 340.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.03908, allocations: 44 kB / 340.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.0414, allocations: 1.904 MB / 342.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006412/0.04781, allocations: 6.795 MB / 349.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.04987, allocations: 1.977 MB / 351.5 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.05157, allocations: 1.48 MB / 353 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.044e-05/0.05165, allocations: 26 kB / 353 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.05169, allocations: 72.47 kB / 353.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 3.276e-06/0.05169, allocations: 0 / 353.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.1696/0.2213, allocations: 13.66 MB / 366.7 MB, free: 56.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.2214, allocations: 396.4 kB / 367.1 MB, free: 56.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.2232, allocations: 1.44 MB / 368.6 MB, free: 55.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.2235, allocations: 73.33 kB / 368.6 MB, free: 55.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.2239, allocations: 0.834 MB / 369.5 MB, free: 54.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/0.2245, allocations: 0.8654 MB / 370.3 MB, free: 54.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/0.2249, allocations: 404.6 kB / 370.7 MB, free: 53.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.225, allocations: 305.1 kB / 371 MB, free: 53.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.2263, allocations: 0.9924 MB / 372 MB, free: 52.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2276, allocations: 1.486 MB / 373.5 MB, free: 50.9 MB / 330.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.0171/0.2447, allocations: 9.281 MB / 382.8 MB, free: 41.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2447, allocations: 4 kB / 382.8 MB, free: 41.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.003938/0.2487, allocations: 2.932 MB / 385.7 MB, free: 38.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.2487, allocations: 8 kB / 385.7 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.2487, allocations: 7.938 kB / 385.7 MB, free: 38.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.2494, allocations: 353.2 kB / 386.1 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.2507, allocations: 0.5451 MB / 386.6 MB, free: 37.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.2554, allocations: 10.12 MB / 396.8 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.2573, allocations: 127.7 kB / 396.9 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.2575, allocations: 88.02 kB / 397 MB, free: 26.75 MB / 330.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.001325/0.2588, allocations: 463.6 kB / 397.4 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/0.2595, allocations: 209.1 kB / 397.6 MB, free: 26.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005203/0.2647, allocations: 3.424 MB / 401.1 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.2648, allocations: 28 kB / 401.1 MB, free: 22.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.2648, allocations: 4 kB / 401.1 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.2648, allocations: 15.89 kB / 401.1 MB, free: 22.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00828/0.2731, allocations: 5.476 MB / 406.6 MB, free: 17.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.2731, allocations: 4 kB / 406.6 MB, free: 17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.2742, allocations: 427.4 kB / 407 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/0.277, allocations: 1.199 MB / 408.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.2772, allocations: 67.97 kB / 408.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.2901, allocations: 17.55 MB / 425.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2901, allocations: 0 / 425.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009296/0.2994, allocations: 4.9 MB / 430.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.3011, allocations: 465.7 kB / 431.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.3015, allocations: 56 kB / 431.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.3028, allocations: 135.8 kB / 431.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006053/0.3034, allocations: 209.7 kB / 431.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.3036, allocations: 75.97 kB / 431.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.305, allocations: 0.9876 MB / 432.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.305, allocations: 3.938 kB / 432.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003263/0.3083, allocations: 0.6907 MB / 433.3 MB, free: 5.293 MB / 346.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.0008398/0.3091, allocations: 263.2 kB / 433.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005331/0.3145, allocations: 3.242 MB / 436.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.3145, allocations: 384 / 436.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003192/0.3177, allocations: 2.502 MB / 439.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.3196, allocations: 347.8 kB / 439.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/0.3281, allocations: 4.976 MB / 444.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.3292, allocations: 0.9913 MB / 445.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.3304, allocations: 172.4 kB / 445.8 MB, free: 8.504 MB / 362.7 MB Notification: Performance of SimCode: time 3.246e-06/0.3304, allocations: 3.938 kB / 445.8 MB, free: 8.5 MB / 362.7 MB Notification: Performance of Templates: time 0.2504/0.5808, allocations: 97.04 MB / 0.5301 GB, free: 133 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.119015553034842]