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.001644/0.001644, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001938/0.001938, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.016 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.91 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2694, allocations: 53.4 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007725/0.2771, allocations: 6.002 MB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.2812, allocations: 2.161 MB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005426/0.2817, allocations: 51.62 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000988/0.2827, allocations: 406.4 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.2841, allocations: 0.5944 MB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.2845, allocations: 239.6 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.2868, allocations: 2.245 MB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.2883, allocations: 1.163 MB / 444.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.2905, allocations: 1.086 MB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.2923, allocations: 1.249 MB / 447.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.2926, allocations: 288 kB / 447.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.2933, allocations: 383.8 kB / 447.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00068/0.294, allocations: 0.7168 MB / 448.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.2954, allocations: 1.237 MB / 449.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004123/0.2996, allocations: 3.826 MB / 453.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2996, allocations: 0 / 453.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2996, allocations: 0 / 453.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.877e-05/0.2996, allocations: 0 / 453.6 MB, free: 0.9531 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.005048/0.3047, allocations: 2.381 MB / 456 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3047, allocations: 8.031 kB / 456 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.107e-05/0.3048, allocations: 47.75 kB / 456 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/0.3051, allocations: 278.3 kB / 456.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/0.3061, allocations: 291.5 kB / 456.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.3084, allocations: 1.319 MB / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3085, allocations: 135.7 kB / 458 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.3088, allocations: 172 kB / 458.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004519/0.3133, allocations: 2.579 MB / 460.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.3133, allocations: 0 / 460.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.3135, allocations: 72 kB / 460.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.3137, allocations: 107.6 kB / 461 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003612/0.3173, allocations: 2.134 MB / 463.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.3296, allocations: 7.492 MB / 470.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3309, allocations: 0.7065 MB / 471.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.3316, allocations: 447.3 kB / 471.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.3318, allocations: 40.47 kB / 471.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.3318, allocations: 39 kB / 471.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.585e-06/0.3318, allocations: 0 / 471.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004014/0.3358, allocations: 2.152 MB / 474 MB, free: 12.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3359, allocations: 85.48 kB / 474 MB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.338, allocations: 1.529 MB / 475.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.338, allocations: 37.7 kB / 475.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008121/0.3389, allocations: 1.009 MB / 476.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.339, allocations: 210.3 kB / 476.8 MB, free: 9.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.3394, allocations: 242.8 kB / 477.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3396, allocations: 358 kB / 477.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007853/0.3404, allocations: 462.2 kB / 477.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3416, allocations: 1.108 MB / 479 MB, free: 6.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.3436, allocations: 1.64 MB / 480.6 MB, free: 4.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.3436, allocations: 8 kB / 480.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002913/0.3465, allocations: 1.707 MB / 482.3 MB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.3466, allocations: 15.98 kB / 482.3 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.3466, allocations: 24 kB / 482.4 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/0.3474, allocations: 173 kB / 482.5 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/0.3483, allocations: 287.5 kB / 482.8 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.3511, allocations: 2.255 MB / 485.1 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.3523, allocations: 87.83 kB / 485.2 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.3524, allocations: 79.98 kB / 485.2 MB, free: 24 kB / 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.001278/0.3536, allocations: 0.7079 MB / 485.9 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.354, allocations: 143.3 kB / 486.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.3556, allocations: 0.8296 MB / 486.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3556, allocations: 11.92 kB / 486.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3556, allocations: 0 / 486.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3556, allocations: 0 / 486.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.3604, allocations: 2.494 MB / 489.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3604, allocations: 0 / 489.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.3608, allocations: 100.2 kB / 489.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007075/0.3615, allocations: 148.7 kB / 489.7 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.3615, allocations: 16 kB / 489.7 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.364, allocations: 2.211 MB / 491.9 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.364, allocations: 4.031 kB / 491.9 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.3662, allocations: 1.325 MB / 493.2 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/0.367, allocations: 211.1 kB / 493.4 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.3673, allocations: 19.92 kB / 493.4 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.3681, allocations: 43.97 kB / 493.5 MB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3683, allocations: 51.92 kB / 493.5 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.3683, allocations: 23.98 kB / 493.6 MB, free: 7.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.3705, allocations: 1.04 MB / 494.6 MB, free: 6.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 0 / 494.6 MB, free: 6.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001856/0.3724, allocations: 363.9 kB / 494.9 MB, free: 6.008 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.003048/0.3754, allocations: 1.963 MB / 496.9 MB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.3776, allocations: 1.129 MB / 498 MB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3776, allocations: 384 / 498 MB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.3785, allocations: 0.4908 MB / 498.5 MB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.3804, allocations: 371.2 kB / 498.9 MB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/0.4042, allocations: 14.06 MB / 0.5009 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/0.4064, allocations: 1.718 MB / 0.5026 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009674/0.4073, allocations: 323.4 kB / 0.5029 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008652/0.4082, allocations: 0.6164 MB / 0.5035 GB, free: 364 kB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4082, allocations: 0 / 0.5035 GB, free: 364 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/0.6947, allocations: 35.22 MB / 0.5379 GB, free: 98.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.63, allocations: 11.53 kB / 0.5379 GB, free: 98.95 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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: 17.326786203950178]