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.001545/0.001545, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001675/0.001675, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.452/1.452, allocations: 230.2 MB / 255.2 MB, free: 15.26 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 53.33 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2026/0.3107, allocations: 5.958 MB / 433.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.3136, allocations: 2.152 MB / 436 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.3141, allocations: 42.62 kB / 436 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007561/0.3148, allocations: 403.4 kB / 436.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009919/0.3158, allocations: 0.58 MB / 437 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3161, allocations: 232.1 kB / 437.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.3179, allocations: 2.241 MB / 439.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.3195, allocations: 1.593 MB / 441 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.3215, allocations: 1.066 MB / 442.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.3231, allocations: 1.253 MB / 443.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.3235, allocations: 288.7 kB / 443.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.3242, allocations: 376.8 kB / 444 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005727/0.3247, allocations: 0.7222 MB / 444.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.3258, allocations: 1.24 MB / 446 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.3295, allocations: 3.823 MB / 449.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3295, allocations: 1.125 kB / 449.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3295, allocations: 1.031 kB / 449.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-05/0.3296, allocations: 0 / 449.8 MB, free: 2.094 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.004266/0.3339, allocations: 2.45 MB / 452.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3339, allocations: 10.11 kB / 452.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.3348, allocations: 289.4 kB / 452.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.3369, allocations: 1.382 MB / 453.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.337, allocations: 131 kB / 454 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.3372, allocations: 175.7 kB / 454.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004276/0.3415, allocations: 2.584 MB / 456.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.3415, allocations: 1 kB / 456.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.3417, allocations: 71.83 kB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.3419, allocations: 109.1 kB / 457 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.3453, allocations: 2.126 MB / 459.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.3568, allocations: 7.637 MB / 466.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.3583, allocations: 1.223 MB / 468 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.359, allocations: 447.9 kB / 468.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.3593, allocations: 114.5 kB / 468.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3593, allocations: 49.55 kB / 468.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.424e-06/0.3593, allocations: 0 / 468.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004238/0.3635, allocations: 2.29 MB / 470.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.3636, allocations: 83.17 kB / 470.9 MB, free: 4.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.3657, allocations: 1.536 MB / 472.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.3658, allocations: 36.2 kB / 472.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000792/0.3666, allocations: 1.007 MB / 473.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3667, allocations: 209.9 kB / 473.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.3671, allocations: 243.7 kB / 473.9 MB, free: 2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3673, allocations: 352.5 kB / 474.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.368, allocations: 461.7 kB / 474.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3693, allocations: 1.112 MB / 475.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.3715, allocations: 1.64 MB / 477.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.3715, allocations: 8 kB / 477.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002959/0.3745, allocations: 1.699 MB / 479.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3745, allocations: 12.11 kB / 479.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.3745, allocations: 28.38 kB / 479.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000764/0.3753, allocations: 180.7 kB / 479.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.3762, allocations: 287.5 kB / 479.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3788, allocations: 2.371 MB / 482.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3799, allocations: 87.81 kB / 482.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.38, allocations: 76 kB / 482.2 MB, free: 9.016 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.001145/0.3812, allocations: 0.7117 MB / 482.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.3814, allocations: 139.2 kB / 483.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.383, allocations: 0.8413 MB / 483.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.383, allocations: 4 kB / 483.9 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.383, allocations: 0 / 483.9 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.383, allocations: 9.438 kB / 483.9 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/0.3872, allocations: 2.505 MB / 486.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3872, allocations: 4 kB / 486.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.3876, allocations: 91.89 kB / 486.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000652/0.3882, allocations: 157 kB / 486.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.3883, allocations: 20 kB / 486.7 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.3908, allocations: 2.297 MB / 489 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.3908, allocations: 7.969 kB / 489 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.3929, allocations: 1.326 MB / 490.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.3934, allocations: 288.2 kB / 490.6 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3935, allocations: 16 kB / 490.6 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.3942, allocations: 51.97 kB / 490.7 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3943, allocations: 47.88 kB / 490.7 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.3943, allocations: 20.75 kB / 490.7 MB, free: 152 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00156/0.3959, allocations: 1.044 MB / 491.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3959, allocations: 4 kB / 491.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001429/0.3973, allocations: 355.9 kB / 492.1 MB, free: 14.75 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.0004442/0.3978, allocations: 186.5 kB / 492.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.3997, allocations: 1.133 MB / 493.5 MB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3997, allocations: 0 / 493.5 MB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.4006, allocations: 0.4997 MB / 494 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.4022, allocations: 386.1 kB / 494.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/0.4075, allocations: 3.263 MB / 497.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.409, allocations: 1.676 MB / 499.3 MB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.4093, allocations: 99.42 kB / 499.4 MB, free: 7.418 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4093, allocations: 0 / 499.4 MB, free: 7.418 MB / 398.1 MB Notification: Performance of Templates: time 0.04392/0.4532, allocations: 32.73 MB / 0.5196 GB, free: 6.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] 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: 10.751165725057945]