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.001327/0.001327, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001462/0.001462, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.566/1.566, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.001979/0.001979, allocations: 59.91 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2364, allocations: 53.41 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00772/0.2441, allocations: 5.343 MB / 437 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.2484, allocations: 2.036 MB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.249, allocations: 51.62 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.25, allocations: 393.4 kB / 439.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.2515, allocations: 0.5905 MB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007103/0.2522, allocations: 239.7 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.2549, allocations: 2.237 MB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.2565, allocations: 1.127 MB / 443.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.259, allocations: 1.087 MB / 444.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.2608, allocations: 1.206 MB / 445.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004079/0.2612, allocations: 288 kB / 446.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007574/0.262, allocations: 375.8 kB / 446.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006864/0.2627, allocations: 0.7284 MB / 447.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.2639, allocations: 0.996 MB / 448.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.2681, allocations: 3.845 MB / 452.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2681, allocations: 0 / 452.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2681, allocations: 0 / 452.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.49e-05/0.2682, allocations: 0 / 452.2 MB, free: 1.902 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.006541/0.2747, allocations: 2.38 MB / 454.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.2747, allocations: 23.92 kB / 454.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009271/0.2757, allocations: 283.5 kB / 454.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.2784, allocations: 1.315 MB / 456.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2785, allocations: 139.9 kB / 456.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.2788, allocations: 172.9 kB / 456.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.2834, allocations: 2.776 MB / 459.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.2835, allocations: 11.92 kB / 459.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.2837, allocations: 72 kB / 459.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.2838, allocations: 103.6 kB / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.2875, allocations: 2.126 MB / 461.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.2987, allocations: 6.374 MB / 467.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3001, allocations: 0.6994 MB / 468.6 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.3009, allocations: 438.6 kB / 469 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.3011, allocations: 44.47 kB / 469.1 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3011, allocations: 39 kB / 469.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.945e-06/0.3011, allocations: 0 / 469.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004539/0.3056, allocations: 2.129 MB / 471.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.3057, allocations: 93.47 kB / 471.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.3078, allocations: 1.364 MB / 472.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.233e-05/0.3078, allocations: 37.7 kB / 472.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008527/0.3087, allocations: 1.033 MB / 473.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.3089, allocations: 206.4 kB / 474 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.3093, allocations: 242.7 kB / 474.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3095, allocations: 361.9 kB / 474.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.3103, allocations: 466.3 kB / 475 MB, free: 10.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.3116, allocations: 1.125 MB / 476.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.3139, allocations: 1.64 MB / 477.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.3139, allocations: 11.88 kB / 477.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003349/0.3172, allocations: 1.692 MB / 479.5 MB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.3173, allocations: 22.33 kB / 479.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/0.3173, allocations: 24 kB / 479.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.3181, allocations: 177 kB / 479.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.319, allocations: 287.5 kB / 480 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.3218, allocations: 2.215 MB / 482.2 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3229, allocations: 83.86 kB / 482.3 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3231, allocations: 64 kB / 482.3 MB, free: 2.441 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.001267/0.3243, allocations: 0.7192 MB / 483.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.3247, allocations: 131.1 kB / 483.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.3263, allocations: 0.8244 MB / 484 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3263, allocations: 4 kB / 484 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3263, allocations: 4 kB / 484 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3263, allocations: 7.984 kB / 484 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.3307, allocations: 2.096 MB / 486.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3307, allocations: 7.938 kB / 486.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.3311, allocations: 91.83 kB / 486.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/0.3318, allocations: 153 kB / 486.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.3318, allocations: 16 kB / 486.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.3343, allocations: 2.164 MB / 488.6 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3343, allocations: 4 kB / 488.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.3365, allocations: 1.309 MB / 489.9 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.3372, allocations: 191.2 kB / 490.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.3375, allocations: 12 kB / 490.1 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007262/0.3383, allocations: 48.03 kB / 490.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3384, allocations: 59.78 kB / 490.2 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.3385, allocations: 16 kB / 490.2 MB, free: 10.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.3403, allocations: 0.9073 MB / 491.1 MB, free: 9.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3403, allocations: 0 / 491.1 MB, free: 9.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001691/0.342, allocations: 347.9 kB / 491.4 MB, free: 9.094 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.0006249/0.3426, allocations: 200.8 kB / 491.6 MB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.3453, allocations: 1.133 MB / 492.8 MB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.3453, allocations: 0 / 492.8 MB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3465, allocations: 0.4956 MB / 493.3 MB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.3485, allocations: 268.3 kB / 493.5 MB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.3566, allocations: 3.259 MB / 496.8 MB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.3585, allocations: 1.127 MB / 497.9 MB, free: 2.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.3596, allocations: 309.9 kB / 498.2 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.3599, allocations: 83.42 kB / 498.3 MB, free: 2.102 MB / 398.1 MB Notification: Performance of SimCode: time 1.803e-06/0.3599, allocations: 0 / 498.3 MB, free: 2.102 MB / 398.1 MB Notification: Performance of Templates: time 0.03661/0.3965, allocations: 17.91 MB / 0.5041 GB, free: 476 kB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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: 5.082455245777965]