Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001776/0.001776, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 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.002304/0.002304, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.504/1.504, allocations: 230.5 MB / 254 MB, free: 15.15 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1215, allocations: 53.38 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008254/0.1298, allocations: 5.979 MB / 432.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00416/0.1339, allocations: 2.149 MB / 434.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.1345, allocations: 47.69 kB / 434.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1355, allocations: 413.3 kB / 434.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.1371, allocations: 0.5827 MB / 435.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.1376, allocations: 235.7 kB / 435.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.1401, allocations: 2.241 MB / 438 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.1421, allocations: 1.588 MB / 439.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.1446, allocations: 1.078 MB / 440.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.1463, allocations: 1.253 MB / 441.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.1467, allocations: 288 kB / 442.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006887/0.1474, allocations: 383.8 kB / 442.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006811/0.1481, allocations: 0.7246 MB / 443.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.1495, allocations: 1.237 MB / 444.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2622/0.4117, allocations: 3.811 MB / 448.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.4117, allocations: 0.6875 kB / 448.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4117, allocations: 0 / 448.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.4119, allocations: 0.9375 kB / 448.3 MB, free: 13.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.005024/0.4169, allocations: 2.451 MB / 450.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4169, allocations: 10.95 kB / 450.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003873/0.4173, allocations: 276.4 kB / 451.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.4184, allocations: 293.4 kB / 451.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.4206, allocations: 1.372 MB / 452.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4207, allocations: 130.8 kB / 452.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/0.421, allocations: 179.4 kB / 453 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/0.4256, allocations: 2.583 MB / 455.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.4256, allocations: 1.031 kB / 455.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.4258, allocations: 77.41 kB / 455.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.426, allocations: 107.8 kB / 455.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.4302, allocations: 2.126 MB / 457.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.4418, allocations: 7.632 MB / 465.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.4431, allocations: 1.234 MB / 466.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.4437, allocations: 446.1 kB / 467.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.4439, allocations: 121.1 kB / 467.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4439, allocations: 40.16 kB / 467.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.236e-06/0.4439, allocations: 0.8438 kB / 467.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003854/0.4478, allocations: 2.289 MB / 469.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4478, allocations: 91.86 kB / 469.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.4497, allocations: 1.529 MB / 471.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4498, allocations: 36.95 kB / 471.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.4503, allocations: 1.01 MB / 472.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4504, allocations: 208.6 kB / 472.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.4507, allocations: 244.8 kB / 472.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.4508, allocations: 357.7 kB / 473.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.4514, allocations: 465.8 kB / 473.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.4522, allocations: 1.106 MB / 474.7 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.4539, allocations: 1.641 MB / 476.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.454, allocations: 8.938 kB / 476.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002889/0.4568, allocations: 1.706 MB / 478 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4569, allocations: 14.41 kB / 478.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.4569, allocations: 27.91 kB / 478.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.4577, allocations: 172.7 kB / 478.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.4585, allocations: 287.9 kB / 478.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.4611, allocations: 2.369 MB / 480.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4622, allocations: 85.27 kB / 481 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4624, allocations: 68.8 kB / 481.1 MB, free: 12.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.001177/0.4635, allocations: 0.7184 MB / 481.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4638, allocations: 141.4 kB / 481.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.4654, allocations: 0.8405 MB / 482.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.4654, allocations: 4.812 kB / 482.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4654, allocations: 2.469 kB / 482.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4654, allocations: 3.984 kB / 482.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.4694, allocations: 2.504 MB / 485.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4695, allocations: 3.781 kB / 485.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.4698, allocations: 92.09 kB / 485.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006436/0.4705, allocations: 155.6 kB / 485.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.4705, allocations: 18.23 kB / 485.5 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.4728, allocations: 2.304 MB / 487.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4728, allocations: 2.562 kB / 487.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.475, allocations: 1.331 MB / 489.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.4756, allocations: 289.8 kB / 489.5 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.4757, allocations: 22.11 kB / 489.5 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.4763, allocations: 44.72 kB / 489.5 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4765, allocations: 50.25 kB / 489.6 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.4765, allocations: 21.94 kB / 489.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.4779, allocations: 1.05 MB / 490.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4779, allocations: 0 / 490.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001371/0.4793, allocations: 353 kB / 491 MB, free: 6.066 MB / 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.002501/0.4818, allocations: 1.939 MB / 492.9 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.4837, allocations: 1.125 MB / 494 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4837, allocations: 2.297 kB / 494 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.4845, allocations: 0.5062 MB / 494.6 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.4861, allocations: 374.2 kB / 494.9 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/0.507, allocations: 14.02 MB / 0.497 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.5088, allocations: 1.719 MB / 0.4987 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000929/0.5097, allocations: 322.9 kB / 0.499 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/0.5106, allocations: 0.6203 MB / 0.4996 GB, free: 1.977 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5106, allocations: 0 / 0.4996 GB, free: 1.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08733/0.598, allocations: 34.23 MB / 0.533 GB, free: 132 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.19, allocations: 7.75 kB / 0.533 GB, free: 128 kB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.822403082042001]