Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008016/0.0008016, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008107/0.0008107, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9335/0.9335, allocations: 177.1 MB / 204.3 MB, free: 5.738 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.301e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004782/0.004805, allocations: 5.328 MB / 329.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.007821, allocations: 2.017 MB / 331.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.008358, allocations: 55.62 kB / 332 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.009322, allocations: 393.3 kB / 332.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.01104, allocations: 0.6055 MB / 333 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.01158, allocations: 231.7 kB / 333.2 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.01372, allocations: 2.302 MB / 335.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.01514, allocations: 1.135 MB / 336.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.01812, allocations: 1.569 MB / 338.2 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.01963, allocations: 1.087 MB / 339.3 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.01999, allocations: 288 kB / 339.6 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.0205, allocations: 367.9 kB / 339.9 MB, free: 484 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.02093, allocations: 0.7401 MB / 340.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.0217, allocations: 0.8537 MB / 341.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.02436, allocations: 3.853 MB / 345.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.02437, allocations: 3.984 kB / 345.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02437, allocations: 0 / 345.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.164e-05/0.02444, allocations: 0 / 345.4 MB, free: 11.01 MB / 314.7 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.003187/0.02763, allocations: 2.349 MB / 347.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.02767, allocations: 8.031 kB / 347.7 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000268/0.02794, allocations: 270.2 kB / 348 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.02856, allocations: 299.5 kB / 348.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.03011, allocations: 1.307 MB / 349.6 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.03018, allocations: 139.9 kB / 349.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.03036, allocations: 180.1 kB / 349.9 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.03316, allocations: 2.744 MB / 352.6 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.03318, allocations: 0 / 352.6 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.0333, allocations: 79.92 kB / 352.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/0.03337, allocations: 99.58 kB / 352.8 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.03561, allocations: 2.106 MB / 354.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.04203, allocations: 6.637 MB / 361.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.04283, allocations: 0.7175 MB / 362.3 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.04327, allocations: 442.8 kB / 362.7 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.0434, allocations: 40.47 kB / 362.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.04342, allocations: 39.06 kB / 362.8 MB, free: 9.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.594e-06/0.04343, allocations: 3.984 kB / 362.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002413/0.04584, allocations: 2.141 MB / 364.9 MB, free: 6.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.04588, allocations: 85.61 kB / 365 MB, free: 6.871 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.0472, allocations: 1.555 MB / 366.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.04723, allocations: 37.7 kB / 366.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.04768, allocations: 1.006 MB / 367.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.04778, allocations: 198.4 kB / 367.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.04798, allocations: 242.7 kB / 368.1 MB, free: 3.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.04808, allocations: 353.9 kB / 368.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.04852, allocations: 462.3 kB / 368.8 MB, free: 3.012 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.04923, allocations: 1.112 MB / 370 MB, free: 1.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.05042, allocations: 1.624 MB / 371.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.05043, allocations: 8 kB / 371.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001644/0.05208, allocations: 1.689 MB / 373.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.0521, allocations: 12 kB / 373.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.05212, allocations: 28 kB / 373.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.05252, allocations: 181.1 kB / 373.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.05299, allocations: 283.5 kB / 373.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.05453, allocations: 2.23 MB / 376 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.05502, allocations: 91.81 kB / 376.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.05507, allocations: 64 kB / 376.2 MB, free: 10.95 MB / 346.7 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.0006111/0.05569, allocations: 0.7195 MB / 376.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.05583, allocations: 135.2 kB / 377 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.05673, allocations: 0.831 MB / 377.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.05674, allocations: 4 kB / 377.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.05674, allocations: 8 kB / 377.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.05675, allocations: 3.984 kB / 377.9 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.05907, allocations: 2.324 MB / 380.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.05908, allocations: 0 / 380.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.05927, allocations: 99.88 kB / 380.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.05961, allocations: 149 kB / 380.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.05964, allocations: 20 kB / 380.4 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.06106, allocations: 2.18 MB / 382.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.06106, allocations: 8.344 kB / 382.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.06225, allocations: 1.32 MB / 383.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.06254, allocations: 215.1 kB / 384.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.06262, allocations: 23.88 kB / 384.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.06292, allocations: 48.03 kB / 384.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.06302, allocations: 43.91 kB / 384.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.06304, allocations: 23.94 kB / 384.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009964/0.06404, allocations: 1.04 MB / 385.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.06404, allocations: 0 / 385.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009025/0.06494, allocations: 355.9 kB / 385.7 MB, free: 1.141 MB / 346.7 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.001689/0.06663, allocations: 1.951 MB / 387.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.06804, allocations: 1.121 MB / 388.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.06805, allocations: 0 / 388.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.0686, allocations: 0.4928 MB / 389.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.0695, allocations: 375.7 kB / 389.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.08415, allocations: 13.98 MB / 403.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.08494, allocations: 1.12 MB / 404.7 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005594/0.0855, allocations: 331.3 kB / 405 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.08603, allocations: 0.6136 MB / 405.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.08603, allocations: 4 kB / 405.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04607/0.1321, allocations: 36.26 MB / 441.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8, allocations: 14.72 kB / 441.9 MB, free: 8.289 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.918122263625264]