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.001358/0.001358, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 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.001394/0.001394, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001674/0.001674, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1087, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2109/0.3196, allocations: 5.931 MB / 432.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3227, allocations: 2.139 MB / 434.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005085/0.3232, allocations: 53.03 kB / 434.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00084/0.3241, allocations: 408.6 kB / 434.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.3252, allocations: 0.5651 MB / 435.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3256, allocations: 222.9 kB / 435.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.3277, allocations: 2.223 MB / 437.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.3295, allocations: 1.593 MB / 439.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.3318, allocations: 1.084 MB / 440.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.3337, allocations: 1.238 MB / 441.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005901/0.3343, allocations: 287.6 kB / 442 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008915/0.3352, allocations: 382.8 kB / 442.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.3358, allocations: 0.712 MB / 443.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.3372, allocations: 1.228 MB / 444.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.3418, allocations: 3.8 MB / 448.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3419, allocations: 0 / 448.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3419, allocations: 5.688 kB / 448.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.342, allocations: 0 / 448.2 MB, free: 1.961 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.006028/0.348, allocations: 2.434 MB / 450.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3481, allocations: 11.02 kB / 450.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003675/0.3484, allocations: 270.4 kB / 450.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.3495, allocations: 290.8 kB / 451.1 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.3522, allocations: 1.386 MB / 452.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.3523, allocations: 134.6 kB / 452.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.3526, allocations: 175.3 kB / 452.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.3575, allocations: 2.549 MB / 455.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.3576, allocations: 7.938 kB / 455.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/0.3578, allocations: 75.17 kB / 455.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.3579, allocations: 95.95 kB / 455.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.3619, allocations: 2.104 MB / 457.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3751, allocations: 7.368 MB / 465 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3767, allocations: 1.236 MB / 466.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/0.3775, allocations: 448.3 kB / 466.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.3777, allocations: 119.2 kB / 466.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.3778, allocations: 38.34 kB / 466.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.364e-06/0.3778, allocations: 0 / 466.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004893/0.3827, allocations: 2.295 MB / 469.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.3827, allocations: 87.02 kB / 469.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.3853, allocations: 1.516 MB / 470.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.224e-05/0.3854, allocations: 36.45 kB / 470.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.3862, allocations: 1.001 MB / 471.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.3864, allocations: 210.4 kB / 472 MB, free: 2.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.3867, allocations: 242.4 kB / 472.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3869, allocations: 355.6 kB / 472.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.3876, allocations: 459.4 kB / 473 MB, free: 1.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.3889, allocations: 1.096 MB / 474.1 MB, free: 152 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.391, allocations: 1.619 MB / 475.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.391, allocations: 4 kB / 475.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003051/0.3941, allocations: 1.688 MB / 477.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3941, allocations: 22.47 kB / 477.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.3941, allocations: 24 kB / 477.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007638/0.3949, allocations: 172.7 kB / 477.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/0.3958, allocations: 287.5 kB / 477.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.3984, allocations: 2.358 MB / 480.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.3998, allocations: 91.81 kB / 480.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.3999, allocations: 64 kB / 480.4 MB, free: 9.371 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.0012/0.4011, allocations: 0.7117 MB / 481.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.4014, allocations: 135.2 kB / 481.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.403, allocations: 0.8424 MB / 482.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.403, allocations: 4 kB / 482.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4031, allocations: 4 kB / 482.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4031, allocations: 1.641 kB / 482.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.4076, allocations: 2.498 MB / 484.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4076, allocations: 0 / 484.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.408, allocations: 104.7 kB / 484.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006605/0.4087, allocations: 153 kB / 484.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.4087, allocations: 16 kB / 484.9 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/0.4112, allocations: 2.314 MB / 487.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4112, allocations: 0 / 487.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.4134, allocations: 1.322 MB / 488.5 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.4142, allocations: 288.2 kB / 488.8 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.4144, allocations: 16 kB / 488.8 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.415, allocations: 48.03 kB / 488.9 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.4152, allocations: 51.81 kB / 488.9 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.4152, allocations: 27.98 kB / 489 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.417, allocations: 1.04 MB / 490 MB, free: 15.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.417, allocations: 0 / 490 MB, free: 15.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001808/0.4188, allocations: 344 kB / 490.3 MB, free: 15.14 MB / 398.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.002916/0.4218, allocations: 1.952 MB / 492.3 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.424, allocations: 1.13 MB / 493.4 MB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.424, allocations: 0 / 493.4 MB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.4249, allocations: 0.4988 MB / 493.9 MB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.4269, allocations: 373.8 kB / 494.3 MB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/0.4513, allocations: 13.94 MB / 0.4963 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.4531, allocations: 1.706 MB / 0.498 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.4541, allocations: 321.5 kB / 0.4983 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008405/0.4549, allocations: 0.6164 MB / 0.4989 GB, free: 9.641 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4549, allocations: 0 / 0.4989 GB, free: 9.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08022/0.5352, allocations: 34.09 MB / 0.5322 GB, free: 7.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.69, allocations: 10.8 kB / 0.5322 GB, free: 7.938 MB / 446.1 MB " [Timeout remaining time 647] (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/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_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: 15.18447782000294]