Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 184.2 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 51.92 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2326, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007273/0.2399, allocations: 5.29 MB / 427.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.2434, allocations: 1.967 MB / 429.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.2438, allocations: 51.62 kB / 429.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.2447, allocations: 397.4 kB / 430.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.2459, allocations: 0.571 MB / 430.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.2463, allocations: 223.8 kB / 431.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.2486, allocations: 2.217 MB / 433.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.2501, allocations: 1.131 MB / 434.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.2519, allocations: 1.071 MB / 435.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.2535, allocations: 1.202 MB / 436.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.2539, allocations: 292 kB / 437 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006413/0.2546, allocations: 367.8 kB / 437.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.2552, allocations: 0.709 MB / 438 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.2563, allocations: 0.9921 MB / 439 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.26, allocations: 3.819 MB / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.26, allocations: 0 / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.26, allocations: 0 / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.26, allocations: 0 / 442.9 MB, free: 10.01 MB / 350.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.004462/0.2645, allocations: 2.358 MB / 445.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2645, allocations: 8.031 kB / 445.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003547/0.2649, allocations: 270.2 kB / 445.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.2655, allocations: 263.5 kB / 445.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.2681, allocations: 1.311 MB / 447.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.2682, allocations: 131.5 kB / 447.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.2685, allocations: 172 kB / 447.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.2728, allocations: 2.748 MB / 450.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.2728, allocations: 4 kB / 450.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.273, allocations: 72 kB / 450.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.2731, allocations: 99.58 kB / 450.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.2767, allocations: 2.103 MB / 452.4 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.2877, allocations: 6.635 MB / 459 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.289, allocations: 0.7041 MB / 459.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.2897, allocations: 451 kB / 460.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.2899, allocations: 36.41 kB / 460.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.2899, allocations: 39 kB / 460.2 MB, free: 8.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.2899, allocations: 0 / 460.2 MB, free: 8.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004019/0.2939, allocations: 2.137 MB / 462.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.294, allocations: 85.55 kB / 462.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.2961, allocations: 1.547 MB / 464 MB, free: 4.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.2962, allocations: 37.7 kB / 464 MB, free: 4.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008126/0.297, allocations: 1.002 MB / 465 MB, free: 3.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.2972, allocations: 210.3 kB / 465.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.2975, allocations: 238.8 kB / 465.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2977, allocations: 357.9 kB / 465.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.2985, allocations: 458.3 kB / 466.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.2998, allocations: 1.123 MB / 467.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.3019, allocations: 1.615 MB / 469 MB, free: 14.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.3019, allocations: 4 kB / 469 MB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002871/0.3048, allocations: 1.688 MB / 470.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.3048, allocations: 20.03 kB / 470.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.3048, allocations: 24 kB / 470.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007024/0.3055, allocations: 176.6 kB / 470.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.3064, allocations: 283.5 kB / 471.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.3089, allocations: 2.246 MB / 473.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.3099, allocations: 83.81 kB / 473.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.31, allocations: 72 kB / 473.6 MB, free: 10 MB / 382.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.00101/0.311, allocations: 0.7001 MB / 474.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.3112, allocations: 143.1 kB / 474.4 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.3127, allocations: 0.8373 MB / 475.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3127, allocations: 8 kB / 475.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3127, allocations: 192 / 475.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3127, allocations: 3.984 kB / 475.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.3168, allocations: 2.329 MB / 477.6 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3168, allocations: 4.344 kB / 477.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.3172, allocations: 99.88 kB / 477.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006264/0.3178, allocations: 152.6 kB / 477.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.3178, allocations: 15.98 kB / 477.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.3202, allocations: 2.176 MB / 480 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.3203, allocations: 12.05 kB / 480.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.3223, allocations: 1.322 MB / 481.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.3229, allocations: 211.1 kB / 481.6 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.323, allocations: 19.98 kB / 481.6 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.3236, allocations: 43.97 kB / 481.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3237, allocations: 55.91 kB / 481.7 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3238, allocations: 23.98 kB / 481.7 MB, free: 1.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.3253, allocations: 1.036 MB / 482.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3253, allocations: 0 / 482.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001274/0.3266, allocations: 347.9 kB / 483.1 MB, free: 196 kB / 382.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.002663/0.3292, allocations: 1.952 MB / 485.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.3312, allocations: 1.13 MB / 486.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3312, allocations: 0 / 486.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.332, allocations: 0.498 MB / 486.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.3335, allocations: 369.2 kB / 487 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/0.354, allocations: 13.93 MB / 0.4892 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.3554, allocations: 1.127 MB / 0.4903 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009026/0.3563, allocations: 323.3 kB / 0.4906 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/0.3572, allocations: 0.6125 MB / 0.4912 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3572, allocations: 3.938 kB / 0.4912 GB, free: 11.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08615/0.4433, allocations: 36.15 MB / 0.5265 GB, free: 7.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.12, allocations: 15.5 kB / 0.5266 GB, free: 7.57 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.790599677246064]