Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001377/0.001377, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001542/0.001542, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.366/1.366, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 54.59 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 49.15 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005636/0.2624, allocations: 5.247 MB / 401.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.2656, allocations: 2.029 MB / 403.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.266, allocations: 46.62 kB / 403.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.2668, allocations: 388.4 kB / 404.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2679, allocations: 0.5876 MB / 404.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.2683, allocations: 242.7 kB / 404.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.2702, allocations: 2.29 MB / 407.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.2714, allocations: 1.023 MB / 408.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.2733, allocations: 1.071 MB / 409.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.2749, allocations: 1.197 MB / 410.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.2752, allocations: 287.5 kB / 410.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.2759, allocations: 372.6 kB / 411.1 MB, free: 500 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005059/0.2764, allocations: 0.7078 MB / 411.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.2776, allocations: 0.9964 MB / 412.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.2814, allocations: 3.8 MB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2814, allocations: 0 / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2814, allocations: 3.938 kB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.384e-05/0.2815, allocations: 1.5 kB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00483/0.2863, allocations: 2.354 MB / 419 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2863, allocations: 12.39 kB / 419 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003891/0.2867, allocations: 276.1 kB / 419.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/0.2875, allocations: 259.9 kB / 419.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.29, allocations: 1.191 MB / 420.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.2901, allocations: 135.6 kB / 420.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.2903, allocations: 174.8 kB / 421 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/0.2947, allocations: 2.747 MB / 423.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.2948, allocations: 0 / 423.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.2949, allocations: 72 kB / 423.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.295, allocations: 95.58 kB / 423.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.2987, allocations: 2.11 MB / 426 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.31, allocations: 6.643 MB / 432.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.3113, allocations: 0.704 MB / 433.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.312, allocations: 447.8 kB / 433.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.3122, allocations: 40.41 kB / 433.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3123, allocations: 46.98 kB / 433.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/0.3123, allocations: 0 / 433.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00424/0.3165, allocations: 2.133 MB / 436 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.3166, allocations: 85.55 kB / 436.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.3188, allocations: 1.555 MB / 437.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.3189, allocations: 41.64 kB / 437.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008453/0.3197, allocations: 1.002 MB / 438.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.3199, allocations: 198.4 kB / 438.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.3202, allocations: 246.7 kB / 439.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3204, allocations: 349.9 kB / 439.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.3211, allocations: 462.3 kB / 439.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.3224, allocations: 1.112 MB / 441 MB, free: 5.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.3245, allocations: 1.619 MB / 442.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3245, allocations: 12 kB / 442.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002809/0.3273, allocations: 1.687 MB / 444.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.3273, allocations: 15.91 kB / 444.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3274, allocations: 24 kB / 444.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.3281, allocations: 185.1 kB / 444.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/0.329, allocations: 279.5 kB / 444.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.3315, allocations: 2.226 MB / 447.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.3326, allocations: 91.81 kB / 447.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.3327, allocations: 75.98 kB / 447.2 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.3337, allocations: 0.7078 MB / 447.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.334, allocations: 135.2 kB / 448.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.3354, allocations: 0.8411 MB / 448.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3354, allocations: 8.125 kB / 448.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3354, allocations: 4 kB / 448.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3355, allocations: 7.922 kB / 448.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/0.3395, allocations: 2.327 MB / 451.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.3395, allocations: 8.062 kB / 451.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.3399, allocations: 91.88 kB / 451.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/0.3405, allocations: 153 kB / 451.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.3405, allocations: 19.98 kB / 451.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.3429, allocations: 2.176 MB / 453.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3429, allocations: 4 kB / 453.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.345, allocations: 1.333 MB / 455 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/0.3456, allocations: 211.1 kB / 455.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.3458, allocations: 16 kB / 455.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.3464, allocations: 55.95 kB / 455.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3465, allocations: 43.86 kB / 455.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.3465, allocations: 20 kB / 455.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.348, allocations: 1.036 MB / 456.4 MB, free: 5.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.348, allocations: 0 / 456.4 MB, free: 5.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001436/0.3495, allocations: 351.9 kB / 456.8 MB, free: 5.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002648/0.3521, allocations: 1.949 MB / 458.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.3542, allocations: 1.114 MB / 459.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3542, allocations: 4 kB / 459.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.355, allocations: 0.4912 MB / 460.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.3566, allocations: 368.3 kB / 460.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/0.3785, allocations: 13.94 MB / 474.6 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.38, allocations: 1.123 MB / 475.7 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009381/0.3809, allocations: 323.2 kB / 476.1 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/0.3817, allocations: 0.6125 MB / 476.7 MB, free: 160 kB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3817, allocations: 0 / 476.7 MB, free: 160 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0852/0.4669, allocations: 36.18 MB / 0.5008 GB, free: 11.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.85, allocations: 3.859 kB / 0.5008 GB, free: 11.84 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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: 15.231539912056178]