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.001321/0.001321, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.00156/0.00156, allocations: 218.7 kB / 23 MB, free: 5.574 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.407/1.407, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001841/0.001841, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.266, allocations: 53.31 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007617/0.2736, allocations: 6 MB / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.2783, allocations: 2.149 MB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/0.279, allocations: 39.88 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.28, allocations: 410.9 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.2816, allocations: 0.5827 MB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.2821, allocations: 231.6 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.2847, allocations: 2.245 MB / 441.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.2863, allocations: 1.162 MB / 442.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.2891, allocations: 1.081 MB / 443.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.291, allocations: 1.245 MB / 444.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.2913, allocations: 288 kB / 445.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.2921, allocations: 379.8 kB / 445.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006935/0.2927, allocations: 0.7284 MB / 446.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.2942, allocations: 1.229 MB / 447.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.2982, allocations: 3.819 MB / 451.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2982, allocations: 8 kB / 451.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2982, allocations: 0 / 451.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.2982, allocations: 0 / 451.4 MB, free: 1.855 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.004687/0.3029, allocations: 2.452 MB / 453.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.303, allocations: 8.031 kB / 453.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.304, allocations: 299.5 kB / 454.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3062, allocations: 1.373 MB / 455.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3064, allocations: 135.9 kB / 455.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.3066, allocations: 176.1 kB / 455.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004301/0.3109, allocations: 2.579 MB / 458.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.311, allocations: 7.938 kB / 458.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.3111, allocations: 72 kB / 458.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.3113, allocations: 103.6 kB / 458.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.3148, allocations: 2.13 MB / 460.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.326, allocations: 7.626 MB / 468.3 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.3276, allocations: 1.228 MB / 469.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.3283, allocations: 450.9 kB / 470 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.3286, allocations: 117.5 kB / 470.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.3286, allocations: 39 kB / 470.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.895e-06/0.3286, allocations: 0 / 470.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004194/0.3328, allocations: 2.291 MB / 472.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.3329, allocations: 93.47 kB / 472.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.335, allocations: 1.525 MB / 474 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.3351, allocations: 33.7 kB / 474.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.3359, allocations: 1.013 MB / 475.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.336, allocations: 218.4 kB / 475.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.3364, allocations: 242.7 kB / 475.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3366, allocations: 353.9 kB / 475.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007129/0.3373, allocations: 462.3 kB / 476.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3385, allocations: 1.1 MB / 477.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.3405, allocations: 1.64 MB / 479.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.3405, allocations: 8 kB / 479.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002758/0.3433, allocations: 1.711 MB / 480.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.3433, allocations: 16 kB / 480.8 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.3433, allocations: 20 kB / 480.8 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/0.3441, allocations: 181.1 kB / 481 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/0.345, allocations: 287.5 kB / 481.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.3475, allocations: 2.373 MB / 483.7 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.3485, allocations: 92 kB / 483.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.3486, allocations: 67.75 kB / 483.8 MB, free: 15.88 MB / 398.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.001045/0.3496, allocations: 0.7234 MB / 484.5 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.3499, allocations: 135.2 kB / 484.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.3513, allocations: 0.8374 MB / 485.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3514, allocations: 4 kB / 485.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3514, allocations: 8 kB / 485.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3514, allocations: 3.984 kB / 485.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.3552, allocations: 2.499 MB / 488 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.3553, allocations: 8.031 kB / 488 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.3556, allocations: 99.81 kB / 488.1 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000663/0.3563, allocations: 144.7 kB / 488.3 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.3563, allocations: 12 kB / 488.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.3588, allocations: 2.318 MB / 490.6 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3588, allocations: 4 kB / 490.6 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.3608, allocations: 1.322 MB / 491.9 MB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.3612, allocations: 296.1 kB / 492.2 MB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3614, allocations: 12 kB / 492.2 MB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.3619, allocations: 48.03 kB / 492.3 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3621, allocations: 51.81 kB / 492.3 MB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.3621, allocations: 23.98 kB / 492.3 MB, free: 7.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.3636, allocations: 1.048 MB / 493.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3636, allocations: 3.938 kB / 493.4 MB, free: 5.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3649, allocations: 351.9 kB / 493.7 MB, free: 5.605 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.000457/0.3654, allocations: 185.3 kB / 493.9 MB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.3677, allocations: 1.13 MB / 495 MB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3677, allocations: 4.062 kB / 495 MB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.3688, allocations: 0.4942 MB / 495.5 MB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.3714, allocations: 368.6 kB / 495.9 MB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007582/0.379, allocations: 3.312 MB / 499.2 MB, free: 32 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.3811, allocations: 1.714 MB / 0.4892 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.3824, allocations: 323.4 kB / 0.4895 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.3827, allocations: 91.42 kB / 0.4896 GB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3827, allocations: 4 kB / 0.4896 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Templates: time 0.0494/0.4321, allocations: 19.5 MB / 0.5086 GB, free: 10.56 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/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.036123502068222]