Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009332/0.0009332, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003381/0.003381, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8779/0.8779, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.062e-05, allocations: 4.812 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.007532/0.007553, allocations: 9.189 MB / 335 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007785/0.01534, allocations: 6.083 MB / 341.1 MB, free: 76 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.01621, allocations: 51.62 kB / 341.2 MB, free: 24 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.01703, allocations: 495.8 kB / 341.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.0184, allocations: 0.9577 MB / 342.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.02231, allocations: 2.644 MB / 345.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.02478, allocations: 3.582 MB / 348.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.0253, allocations: 0.4916 MB / 349.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.02697, allocations: 1.934 MB / 351.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009116/0.02788, allocations: 1.145 MB / 352.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.02813, allocations: 328 kB / 352.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.02877, allocations: 0.601 MB / 353.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004107/0.02919, allocations: 0.7475 MB / 354.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.02978, allocations: 0.9976 MB / 355.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.0326, allocations: 4.109 MB / 359.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.0326, allocations: 0 / 359.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0326, allocations: 0 / 359.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.03262, allocations: 0 / 359.2 MB, free: 13.94 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.003709/0.03633, allocations: 3.06 MB / 362.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.03637, allocations: 8.031 kB / 362.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.03682, allocations: 327.1 kB / 362.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.03832, allocations: 1.314 MB / 363.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.03852, allocations: 407.6 kB / 364.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005487/0.03907, allocations: 244.7 kB / 364.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.04154, allocations: 2.646 MB / 367.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.04157, allocations: 7.938 kB / 367.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.04169, allocations: 80 kB / 367.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.04172, allocations: 48 kB / 367.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.04405, allocations: 1.904 MB / 369.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007117/0.05117, allocations: 6.779 MB / 376 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.05331, allocations: 1.966 MB / 378 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.05529, allocations: 1.477 MB / 379.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.311e-05/0.05537, allocations: 33.94 kB / 379.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.05541, allocations: 64.56 kB / 379.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=208): time 3.977e-06/0.05542, allocations: 0 / 379.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=250): time 0.02603/0.08145, allocations: 13.69 MB / 393.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.0816, allocations: 397.8 kB / 393.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.08307, allocations: 1.444 MB / 395.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.08318, allocations: 73.7 kB / 395.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.08356, allocations: 0.8403 MB / 396 MB, free: 8.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.08401, allocations: 0.8713 MB / 396.8 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/0.08443, allocations: 408.6 kB / 397.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.0845, allocations: 301.1 kB / 397.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.08578, allocations: 1 MB / 398.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.08725, allocations: 1.485 MB / 400 MB, free: 4.199 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.01665/0.1039, allocations: 9.267 MB / 409.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1039, allocations: 7.938 kB / 409.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.003803/0.1077, allocations: 2.929 MB / 412.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.1077, allocations: 4 kB / 412.2 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.1078, allocations: 11.98 kB / 412.2 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.1084, allocations: 360.9 kB / 412.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.1097, allocations: 0.5422 MB / 413.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.1169, allocations: 10.12 MB / 423.2 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.1183, allocations: 132.1 kB / 423.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.1184, allocations: 83.95 kB / 423.5 MB, free: 11.98 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.001049/0.1195, allocations: 472.8 kB / 423.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.1197, allocations: 210.8 kB / 424.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.1244, allocations: 3.425 MB / 427.6 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.1244, allocations: 24 kB / 427.6 MB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1244, allocations: 4 kB / 427.6 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.1245, allocations: 19.94 kB / 427.6 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/0.1319, allocations: 5.489 MB / 433.1 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.1319, allocations: 4 kB / 433.1 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.1329, allocations: 427.4 kB / 433.5 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.1355, allocations: 1.194 MB / 434.7 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.1356, allocations: 72.03 kB / 434.8 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.159/0.2946, allocations: 17.53 MB / 452.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2946, allocations: 6.812 kB / 452.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.3007, allocations: 4.902 MB / 457.2 MB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.3013, allocations: 466 kB / 457.7 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.3015, allocations: 58.97 kB / 457.7 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.3023, allocations: 137.3 kB / 457.9 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.3026, allocations: 201.5 kB / 458.1 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.3027, allocations: 76.7 kB / 458.1 MB, free: 111.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007735/0.3035, allocations: 0.9925 MB / 459.1 MB, free: 110.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3035, allocations: 0 / 459.1 MB, free: 110.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001556/0.305, allocations: 0.6902 MB / 459.8 MB, free: 110.9 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.000367/0.3054, allocations: 273.3 kB / 460.1 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.3082, allocations: 3.241 MB / 463.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3082, allocations: 96 / 463.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.3099, allocations: 2.507 MB / 465.8 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009562/0.3109, allocations: 338.8 kB / 466.2 MB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.3152, allocations: 4.987 MB / 471.1 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.3157, allocations: 1.005 MB / 472.2 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.3161, allocations: 176.9 kB / 472.3 MB, free: 100.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3161, allocations: 0 / 472.3 MB, free: 100.8 MB / 410.7 MB Notification: Performance of Templates: time 0.04003/0.3561, allocations: 97.46 MB / 0.5564 GB, free: 3.453 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 9.131550102494657]