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.001789/0.001789, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002266/0.002266, allocations: 206.9 kB / 24.51 MB, free: 3.945 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.001961/0.001961, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2681, allocations: 53.41 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007101/0.2752, allocations: 5.328 MB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.2792, allocations: 2.025 MB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007822/0.28, allocations: 51.62 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.2811, allocations: 397.4 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.2828, allocations: 0.5944 MB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.2833, allocations: 239.7 kB / 440.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.2856, allocations: 2.241 MB / 442.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.2871, allocations: 1.162 MB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.2892, allocations: 1.1 MB / 445 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.2908, allocations: 1.253 MB / 446.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003673/0.2912, allocations: 288 kB / 446.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.2918, allocations: 375.8 kB / 446.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006534/0.2925, allocations: 0.7168 MB / 447.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.2938, allocations: 0.9999 MB / 448.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.298, allocations: 3.839 MB / 452.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.298, allocations: 4 kB / 452.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.298, allocations: 0 / 452.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.768e-05/0.2981, allocations: 0 / 452.5 MB, free: 1.762 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.004803/0.3029, allocations: 2.389 MB / 454.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3029, allocations: 8.031 kB / 454.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.155e-05/0.303, allocations: 47.75 kB / 454.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003422/0.3033, allocations: 282.3 kB / 455.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.3043, allocations: 287.5 kB / 455.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3065, allocations: 1.319 MB / 456.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3066, allocations: 135.7 kB / 456.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.3069, allocations: 180 kB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.3111, allocations: 2.772 MB / 459.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.3111, allocations: 4 kB / 459.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.3113, allocations: 71.98 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.3114, allocations: 111.6 kB / 460.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.3148, allocations: 2.13 MB / 462.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.3249, allocations: 6.671 MB / 468.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.326, allocations: 0.7014 MB / 469.6 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.3268, allocations: 443.3 kB / 470 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.3269, allocations: 36.41 kB / 470.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.327, allocations: 46.94 kB / 470.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/0.327, allocations: 4 kB / 470.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.003917/0.3309, allocations: 2.144 MB / 472.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.331, allocations: 81.55 kB / 472.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.3329, allocations: 1.533 MB / 473.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.333, allocations: 37.7 kB / 473.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/0.3338, allocations: 1.01 MB / 474.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.3339, allocations: 214.4 kB / 475.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/0.3343, allocations: 242.7 kB / 475.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3344, allocations: 357.9 kB / 475.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.3351, allocations: 462.3 kB / 476.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3363, allocations: 1.133 MB / 477.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.3383, allocations: 1.636 MB / 478.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3383, allocations: 8 kB / 478.9 MB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002707/0.341, allocations: 1.707 MB / 480.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.341, allocations: 12 kB / 480.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.3411, allocations: 24 kB / 480.7 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007655/0.3418, allocations: 181.1 kB / 480.8 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.3427, allocations: 287.5 kB / 481.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.3451, allocations: 2.236 MB / 483.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/0.3461, allocations: 95.75 kB / 483.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3462, allocations: 75.98 kB / 483.5 MB, free: 1.434 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.001002/0.3472, allocations: 0.7112 MB / 484.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.3474, allocations: 143.1 kB / 484.4 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.3489, allocations: 0.8298 MB / 485.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3489, allocations: 12 kB / 485.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.3489, allocations: 3.938 kB / 485.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3489, allocations: 3.984 kB / 485.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.3526, allocations: 2.338 MB / 487.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.3526, allocations: 4 kB / 487.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.3529, allocations: 95.88 kB / 487.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006732/0.3536, allocations: 157 kB / 487.8 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.3537, allocations: 16 kB / 487.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.3559, allocations: 2.176 MB / 490 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.3559, allocations: 12.02 kB / 490 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.3579, allocations: 1.325 MB / 491.3 MB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.3584, allocations: 215.1 kB / 491.6 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.3586, allocations: 16 kB / 491.6 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.3591, allocations: 52.03 kB / 491.6 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3592, allocations: 51.84 kB / 491.7 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.3593, allocations: 20 kB / 491.7 MB, free: 8.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.3607, allocations: 1.044 MB / 492.7 MB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3607, allocations: 3.938 kB / 492.7 MB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001342/0.3621, allocations: 355.9 kB / 493.1 MB, free: 7.582 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.00262/0.3647, allocations: 1.951 MB / 495 MB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.3668, allocations: 1.137 MB / 496.2 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3668, allocations: 0 / 496.2 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.3677, allocations: 0.4997 MB / 496.7 MB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.3695, allocations: 367.8 kB / 497 MB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.3905, allocations: 14.04 MB / 0.4991 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.3917, allocations: 1.132 MB / 0.5002 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000913/0.3926, allocations: 323.4 kB / 0.5005 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/0.3934, allocations: 0.6243 MB / 0.5011 GB, free: 2.52 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3934, allocations: 0 / 0.5011 GB, free: 2.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2754/0.6688, allocations: 36.4 MB / 0.5367 GB, free: 98.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.63, allocations: 9.266 kB / 0.5367 GB, free: 98.91 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.281940525048412]