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.001266/0.001266, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001379/0.001379, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.392/1.392, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001458/0.001458, allocations: 51.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2705, allocations: 52.2 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00821/0.2787, allocations: 5.95 MB / 428.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.2833, allocations: 2.08 MB / 430.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006457/0.284, allocations: 47.69 kB / 430.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.2851, allocations: 410.4 kB / 431.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.2867, allocations: 0.5827 MB / 431.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.2871, allocations: 223.6 kB / 431.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.2897, allocations: 2.214 MB / 434.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.2913, allocations: 1.166 MB / 435.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.2936, allocations: 1.061 MB / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.2955, allocations: 1.245 MB / 437.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.2959, allocations: 288 kB / 437.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.2967, allocations: 379.8 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007052/0.2974, allocations: 0.7129 MB / 439 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.2987, allocations: 1.221 MB / 440.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.3029, allocations: 3.792 MB / 444 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3029, allocations: 0 / 444 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3029, allocations: 0 / 444 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.862e-05/0.303, allocations: 4 kB / 444 MB, free: 9.113 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.005095/0.3081, allocations: 2.358 MB / 446.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3082, allocations: 8.031 kB / 446.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/0.3085, allocations: 270.2 kB / 446.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/0.3092, allocations: 267.5 kB / 446.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.3118, allocations: 1.307 MB / 448.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3119, allocations: 131.5 kB / 448.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.3122, allocations: 172 kB / 448.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.3163, allocations: 2.551 MB / 451 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.3164, allocations: 3.938 kB / 451 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.3165, allocations: 72 kB / 451.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.3167, allocations: 91.58 kB / 451.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.3202, allocations: 2.114 MB / 453.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3322, allocations: 7.255 MB / 460.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3335, allocations: 0.7041 MB / 461.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.3342, allocations: 446.9 kB / 461.7 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.3344, allocations: 40.41 kB / 461.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3344, allocations: 39 kB / 461.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.315e-06/0.3344, allocations: 0 / 461.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004247/0.3387, allocations: 2.141 MB / 463.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.3387, allocations: 85.48 kB / 464 MB, free: 4.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.3409, allocations: 1.516 MB / 465.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.341, allocations: 33.7 kB / 465.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.3418, allocations: 0.9978 MB / 466.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.342, allocations: 206.4 kB / 466.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.3423, allocations: 242.7 kB / 467 MB, free: 1.645 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3425, allocations: 357.9 kB / 467.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.3433, allocations: 458.3 kB / 467.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.3446, allocations: 1.091 MB / 468.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.3468, allocations: 1.619 MB / 470.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.3468, allocations: 4 kB / 470.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003061/0.3498, allocations: 1.691 MB / 472.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.3499, allocations: 16 kB / 472.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.3499, allocations: 20 kB / 472.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.3507, allocations: 181.1 kB / 472.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.3516, allocations: 283.5 kB / 472.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.3543, allocations: 2.258 MB / 474.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3553, allocations: 91.81 kB / 475 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.3554, allocations: 64 kB / 475.1 MB, free: 8.781 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.001112/0.3566, allocations: 0.7157 MB / 475.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.3568, allocations: 139.1 kB / 475.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.3584, allocations: 0.8334 MB / 476.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3584, allocations: 4 kB / 476.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3584, allocations: 0 / 476.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3584, allocations: 3.984 kB / 476.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.3629, allocations: 2.47 MB / 479.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3629, allocations: 4 kB / 479.3 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.3633, allocations: 99.81 kB / 479.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/0.364, allocations: 148.9 kB / 479.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.364, allocations: 11.98 kB / 479.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.3666, allocations: 2.204 MB / 481.7 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3666, allocations: 4 kB / 481.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.3687, allocations: 1.322 MB / 483 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006054/0.3693, allocations: 219.1 kB / 483.3 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.3695, allocations: 12 kB / 483.3 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.37, allocations: 48.22 kB / 483.3 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3702, allocations: 55.78 kB / 483.4 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.3702, allocations: 23.94 kB / 483.4 MB, free: 200 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.3718, allocations: 1.036 MB / 484.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 484.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001483/0.3733, allocations: 355.9 kB / 484.8 MB, free: 14.81 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.00281/0.3761, allocations: 1.953 MB / 486.7 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.3782, allocations: 1.121 MB / 487.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3782, allocations: 0 / 487.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.379, allocations: 0.5073 MB / 488.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.3806, allocations: 370.3 kB / 488.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/0.4009, allocations: 13.93 MB / 0.4909 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.4025, allocations: 1.702 MB / 0.4925 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009853/0.4035, allocations: 331.2 kB / 0.4929 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.4043, allocations: 0.6086 MB / 0.4934 GB, free: 9.309 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4043, allocations: 4 kB / 0.4935 GB, free: 9.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08209/0.4864, allocations: 34.93 MB / 0.5276 GB, free: 6.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.01, allocations: 14.16 kB / 0.5276 GB, free: 6.738 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.65020489000017]