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.001382/0.001382, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001522/0.001522, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.609/1.609, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.001782/0.001782, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1066, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00794/0.1145, allocations: 5.968 MB / 432.6 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.1187, allocations: 2.145 MB / 434.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.1194, allocations: 43.81 kB / 434.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1205, allocations: 413.3 kB / 435.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.122, allocations: 0.5827 MB / 435.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.1224, allocations: 231.7 kB / 436 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.1247, allocations: 2.233 MB / 438.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.1267, allocations: 1.6 MB / 439.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.1289, allocations: 1.065 MB / 440.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.1305, allocations: 1.249 MB / 442.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.1309, allocations: 288 kB / 442.5 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.1316, allocations: 379.8 kB / 442.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.1322, allocations: 0.7246 MB / 443.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.1335, allocations: 1.241 MB / 444.8 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2024/0.336, allocations: 3.814 MB / 448.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.336, allocations: 0.7188 kB / 448.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.336, allocations: 0 / 448.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.3361, allocations: 0.6094 kB / 448.6 MB, free: 13.62 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.004912/0.341, allocations: 2.45 MB / 451.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.341, allocations: 8.688 kB / 451.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003382/0.3414, allocations: 276.7 kB / 451.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.3423, allocations: 295.4 kB / 451.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.3448, allocations: 1.374 MB / 453 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/0.3449, allocations: 133.2 kB / 453.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/0.3451, allocations: 177 kB / 453.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004395/0.3495, allocations: 2.583 MB / 455.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.3496, allocations: 0 / 455.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.3497, allocations: 71.22 kB / 456 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.3499, allocations: 110.8 kB / 456.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.3534, allocations: 2.124 MB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.364, allocations: 7.626 MB / 465.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3652, allocations: 1.236 MB / 467.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.3658, allocations: 451.4 kB / 467.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.366, allocations: 117.9 kB / 467.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.366, allocations: 39.08 kB / 467.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.023e-06/0.366, allocations: 0 / 467.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003678/0.3697, allocations: 2.294 MB / 469.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3698, allocations: 87.02 kB / 470 MB, free: 4.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.3716, allocations: 1.528 MB / 471.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.3717, allocations: 37.02 kB / 471.6 MB, free: 3.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.3722, allocations: 1.014 MB / 472.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3723, allocations: 210.2 kB / 472.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.3726, allocations: 245.9 kB / 473.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.3726, allocations: 358.1 kB / 473.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.3732, allocations: 462.1 kB / 473.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.374, allocations: 1.11 MB / 475 MB, free: 1.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.3755, allocations: 1.643 MB / 476.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.3755, allocations: 5.781 kB / 476.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002787/0.3783, allocations: 1.704 MB / 478.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.3784, allocations: 14.69 kB / 478.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/0.3784, allocations: 24.88 kB / 478.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007831/0.3792, allocations: 184 kB / 478.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.38, allocations: 283.8 kB / 478.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.3826, allocations: 2.358 MB / 481.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3836, allocations: 91.53 kB / 481.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/0.3837, allocations: 69.47 kB / 481.3 MB, free: 12.92 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.001083/0.3848, allocations: 0.7143 MB / 482 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.3851, allocations: 141 kB / 482.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3865, allocations: 0.8362 MB / 483 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3865, allocations: 11.31 kB / 483 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3865, allocations: 6.188 kB / 483 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3866, allocations: 0 / 483 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.3906, allocations: 2.505 MB / 485.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3906, allocations: 3.5 kB / 485.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.391, allocations: 99.34 kB / 485.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.3916, allocations: 151.3 kB / 485.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.3916, allocations: 18.77 kB / 485.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.394, allocations: 2.299 MB / 488.1 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.394, allocations: 6.734 kB / 488.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.396, allocations: 1.326 MB / 489.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/0.3966, allocations: 289.6 kB / 489.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.3968, allocations: 22.86 kB / 489.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.3974, allocations: 43.47 kB / 489.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3975, allocations: 48.5 kB / 489.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.3975, allocations: 19.12 kB / 489.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.3989, allocations: 1.047 MB / 490.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 490.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001319/0.4002, allocations: 358.9 kB / 491.2 MB, free: 6.363 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.002456/0.4027, allocations: 1.949 MB / 493.2 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4045, allocations: 1.127 MB / 494.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4045, allocations: 3.062 kB / 494.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.4052, allocations: 0.5018 MB / 494.8 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.4067, allocations: 381.8 kB / 495.2 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.4276, allocations: 14.02 MB / 0.4973 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.4295, allocations: 1.706 MB / 0.499 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009734/0.4304, allocations: 323.9 kB / 0.4993 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008882/0.4313, allocations: 0.6242 MB / 0.4999 GB, free: 2.242 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4313, allocations: 0 / 0.4999 GB, free: 2.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.5082, allocations: 34.22 MB / 0.5333 GB, free: 408 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.01, allocations: 14.14 kB / 0.5333 GB, free: 396 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 & /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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.72943358309567]