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.0008392/0.0008392, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001493/0.001493, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.898/0.898, allocations: 177 MB / 204.1 MB, free: 5.727 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.385e-05, allocations: 2.281 kB / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01091/0.01094, allocations: 9.181 MB / 333.7 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.02371, allocations: 6.094 MB / 339.8 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.0265, allocations: 47.69 kB / 339.9 MB, free: 476 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.02845, allocations: 499.8 kB / 340.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.0331, allocations: 0.9693 MB / 341.3 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007214/0.04031, allocations: 2.629 MB / 343.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00557/0.04588, allocations: 3.597 MB / 347.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.04695, allocations: 0.4916 MB / 348 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.05065, allocations: 1.934 MB / 350 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.05277, allocations: 1.149 MB / 351.1 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006738/0.05344, allocations: 328 kB / 351.4 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.0547, allocations: 0.5933 MB / 352 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006326/0.05533, allocations: 0.7553 MB / 352.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.05696, allocations: 0.9898 MB / 353.8 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.06198, allocations: 4.109 MB / 357.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.06199, allocations: 0 / 357.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.06199, allocations: 0 / 357.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.06209, allocations: 0 / 357.9 MB, free: 14.37 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.004874/0.06697, allocations: 3.063 MB / 360.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.06701, allocations: 11.98 kB / 361 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002589/0.06727, allocations: 278.6 kB / 361.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.06776, allocations: 319.1 kB / 361.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.06943, allocations: 1.329 MB / 362.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.06965, allocations: 407.7 kB / 363.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.06999, allocations: 236.6 kB / 363.5 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.07267, allocations: 2.642 MB / 366.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.0727, allocations: 3.984 kB / 366.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.07283, allocations: 84 kB / 366.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.07286, allocations: 48 kB / 366.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.0754, allocations: 1.896 MB / 368.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00774/0.08314, allocations: 7.047 MB / 375.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.08532, allocations: 1.967 MB / 377.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.0871, allocations: 1.476 MB / 378.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.08718, allocations: 25.98 kB / 378.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.08722, allocations: 64.5 kB / 378.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=208): time 3.616e-06/0.08722, allocations: 4 kB / 378.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=250): time 0.02876/0.116, allocations: 13.69 MB / 392.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.1161, allocations: 397.8 kB / 392.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.118, allocations: 1.538 MB / 394.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.1183, allocations: 69.7 kB / 394.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.1188, allocations: 0.8331 MB / 395.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/0.1194, allocations: 0.8674 MB / 396.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/0.1198, allocations: 412.6 kB / 396.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.1199, allocations: 305.1 kB / 396.8 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.1213, allocations: 0.9963 MB / 397.8 MB, free: 5.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.1229, allocations: 1.486 MB / 399.3 MB, free: 3.984 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.01848/0.1414, allocations: 9.263 MB / 408.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.1414, allocations: 0 / 408.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.004148/0.1456, allocations: 2.941 MB / 411.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.1456, allocations: 11.94 kB / 411.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.1456, allocations: 11.98 kB / 411.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.1462, allocations: 349 kB / 411.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.1477, allocations: 0.55 MB / 412.4 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.154, allocations: 10.26 MB / 422.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.1559, allocations: 128 kB / 422.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.156, allocations: 83.95 kB / 422.9 MB, free: 11.55 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.001016/0.157, allocations: 468.3 kB / 423.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.1575, allocations: 218.7 kB / 423.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/0.1628, allocations: 3.442 MB / 427 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.1628, allocations: 24 kB / 427 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.1628, allocations: 4 kB / 427 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.1629, allocations: 19.94 kB / 427.1 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008703/0.1716, allocations: 5.727 MB / 432.8 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.1716, allocations: 4 kB / 432.8 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.1727, allocations: 423.4 kB / 433.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00296/0.1756, allocations: 1.186 MB / 434.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.1758, allocations: 63.97 kB / 434.5 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1584/0.3343, allocations: 17.74 MB / 452.2 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3343, allocations: 1.031 kB / 452.2 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/0.3408, allocations: 4.913 MB / 457.1 MB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/0.3415, allocations: 477.9 kB / 457.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.3417, allocations: 51.25 kB / 457.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.3426, allocations: 138.1 kB / 457.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.343, allocations: 212.1 kB / 458 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.3431, allocations: 70.69 kB / 458 MB, free: 110.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008867/0.344, allocations: 1.051 MB / 459.1 MB, free: 109.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.344, allocations: 0 / 459.1 MB, free: 109.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001612/0.3456, allocations: 0.6951 MB / 459.8 MB, free: 109.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.005819/0.3514, allocations: 5.616 MB / 465.4 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.3546, allocations: 3.237 MB / 468.6 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3546, allocations: 4 kB / 468.6 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.3566, allocations: 2.516 MB / 471.2 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.358, allocations: 379.7 kB / 471.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/0.3791, allocations: 19.32 MB / 490.9 MB, free: 81.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.3797, allocations: 0.999 MB / 491.9 MB, free: 80.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008896/0.3805, allocations: 295.9 kB / 492.1 MB, free: 79.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.3813, allocations: 0.9181 MB / 493.1 MB, free: 78.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3813, allocations: 0 / 493.1 MB, free: 78.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07843/0.4597, allocations: 60.08 MB / 0.5402 GB, free: 19.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.604/10.06, allocations: 5.922 kB / 0.5402 GB, free: 19.11 MB / 410.7 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv","/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] "" Variables in the reference:time,capacitor1.v,capacitor2.v Variables in the result:time,capacitor1.v,capacitor2.v,pdissCopAvg.x[1],pdissCopAvg.x[2],pdissEddyAvg.x[1] [Calling sys.exit(0), Time elapsed: 13.224568688310683]