Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 53.37 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008188/0.2513, allocations: 5.969 MB / 437.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.2553, allocations: 2.142 MB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.2558, allocations: 55.62 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009429/0.2567, allocations: 402.9 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.258, allocations: 0.5866 MB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.2585, allocations: 231.6 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.261, allocations: 2.229 MB / 443.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.2626, allocations: 1.159 MB / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.2648, allocations: 1.081 MB / 445.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.2666, allocations: 1.242 MB / 446.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.2669, allocations: 288 kB / 447 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006463/0.2676, allocations: 387.8 kB / 447.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006507/0.2682, allocations: 0.7012 MB / 448.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.2695, allocations: 1.233 MB / 449.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00411/0.2736, allocations: 3.799 MB / 453.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2736, allocations: 0 / 453.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2736, allocations: 0 / 453.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.744e-05/0.2737, allocations: 0 / 453.1 MB, free: 1.305 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004582/0.2782, allocations: 2.373 MB / 455.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.2783, allocations: 8.031 kB / 455.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009055/0.2792, allocations: 287.5 kB / 455.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.2817, allocations: 1.319 MB / 457.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2818, allocations: 131.5 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.2821, allocations: 172 kB / 457.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/0.2863, allocations: 2.547 MB / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.2863, allocations: 0 / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.2865, allocations: 72 kB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.2866, allocations: 107.5 kB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.2902, allocations: 2.106 MB / 462.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3022, allocations: 7.244 MB / 469.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3036, allocations: 0.7155 MB / 470.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008282/0.3044, allocations: 442.6 kB / 470.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.3046, allocations: 40.34 kB / 470.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.3046, allocations: 43 kB / 470.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.405e-06/0.3046, allocations: 0 / 470.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004303/0.3089, allocations: 2.141 MB / 472.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.309, allocations: 81.55 kB / 472.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.3112, allocations: 1.521 MB / 474.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.3112, allocations: 37.7 kB / 474.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000845/0.3121, allocations: 1.002 MB / 475.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3123, allocations: 210.3 kB / 475.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.3126, allocations: 238.8 kB / 475.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3128, allocations: 365.8 kB / 476.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/0.3135, allocations: 454.3 kB / 476.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3149, allocations: 1.098 MB / 477.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.3171, allocations: 1.615 MB / 479.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.3171, allocations: 8 kB / 479.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002882/0.32, allocations: 1.691 MB / 481.1 MB, free: 4.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.32, allocations: 16 kB / 481.1 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.32, allocations: 20.44 kB / 481.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007706/0.3208, allocations: 176.7 kB / 481.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/0.3217, allocations: 287.5 kB / 481.6 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.3245, allocations: 2.25 MB / 483.9 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.3254, allocations: 87.81 kB / 483.9 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/0.3255, allocations: 71.98 kB / 484 MB, free: 1.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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.001033/0.3265, allocations: 0.7117 MB / 484.7 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.3267, allocations: 139.2 kB / 484.9 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.3283, allocations: 0.8413 MB / 485.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3283, allocations: 8 kB / 485.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.3283, allocations: 0 / 485.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3283, allocations: 3.984 kB / 485.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.3325, allocations: 2.475 MB / 488.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.3325, allocations: 4 kB / 488.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.3329, allocations: 99.81 kB / 488.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/0.3335, allocations: 149 kB / 488.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.3336, allocations: 16 kB / 488.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.336, allocations: 2.199 MB / 490.7 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.336, allocations: 4 kB / 490.7 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.3381, allocations: 1.322 MB / 492 MB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/0.3387, allocations: 215.1 kB / 492.2 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.3389, allocations: 15.98 kB / 492.2 MB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/0.3395, allocations: 51.97 kB / 492.3 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3397, allocations: 55.8 kB / 492.3 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.3397, allocations: 19.98 kB / 492.3 MB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001589/0.3413, allocations: 1.04 MB / 493.4 MB, free: 7.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3413, allocations: 4 kB / 493.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001289/0.3426, allocations: 355.9 kB / 493.7 MB, free: 7.199 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.0004165/0.343, allocations: 196.6 kB / 493.9 MB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.345, allocations: 1.117 MB / 495 MB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.345, allocations: 0 / 495 MB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.3458, allocations: 0.5033 MB / 495.5 MB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.3473, allocations: 368.5 kB / 495.9 MB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.3529, allocations: 3.27 MB / 499.2 MB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.3546, allocations: 1.698 MB / 0.4891 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007895/0.3553, allocations: 327.3 kB / 0.4894 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.3556, allocations: 91.42 kB / 0.4895 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3556, allocations: 0 / 0.4895 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Templates: time 0.0374/0.393, allocations: 19.92 MB / 0.509 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.068362714024261]