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.0009616/0.0009616, allocations: 77.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.00111/0.00111, allocations: 166.7 kB / 24.82 MB, free: 8.926 MB / 18.57 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 0.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.58e-05, allocations: 12.78 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004923/0.004939, allocations: 5.746 MB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.007905, allocations: 2.095 MB / 281.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.008297, allocations: 55.62 kB / 281.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.008963, allocations: 393.4 kB / 281.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009284/0.009891, allocations: 0.5977 MB / 282.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.01019, allocations: 235.6 kB / 282.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.01164, allocations: 2.306 MB / 284.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.01263, allocations: 1.135 MB / 286 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.01426, allocations: 1.619 MB / 287.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.01536, allocations: 1.2 MB / 288.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.01565, allocations: 288 kB / 289.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.01607, allocations: 379.8 kB / 289.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.01646, allocations: 0.7519 MB / 290.2 MB, free: 456 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1368/0.1533, allocations: 0.8618 MB / 291 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.1561, allocations: 2.037 MB / 293.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1561, allocations: 3.281 kB / 293.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1561, allocations: 0 / 293.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.769e-05/0.1562, allocations: 0 / 293.1 MB, free: 17.82 MB / 266.7 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.00372/0.1599, allocations: 2.491 MB / 295.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1599, allocations: 9.766 kB / 295.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/0.1607, allocations: 430.6 kB / 296 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.162, allocations: 1.138 MB / 297.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.1621, allocations: 136.5 kB / 297.3 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1623, allocations: 175.5 kB / 297.4 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.1641, allocations: 1.459 MB / 298.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.1641, allocations: 4.5 kB / 298.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.1642, allocations: 72.25 kB / 299 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.808e-05/0.1643, allocations: 97.66 kB / 299.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.1652, allocations: 472.3 kB / 299.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/0.1713, allocations: 5.915 MB / 305.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.172, allocations: 371.2 kB / 305.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.1723, allocations: 190.4 kB / 306 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.1725, allocations: 34.08 kB / 306 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1725, allocations: 51.14 kB / 306.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.645e-06/0.1725, allocations: 0 / 306.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001941/0.1745, allocations: 0.9964 MB / 307.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1745, allocations: 87.16 kB / 307.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1756, allocations: 1.146 MB / 308.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1757, allocations: 41.33 kB / 308.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.1762, allocations: 1.112 MB / 309.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1763, allocations: 219.1 kB / 309.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.1766, allocations: 261.8 kB / 309.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1767, allocations: 0.5542 MB / 310.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1769, allocations: 100.3 kB / 310.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.1774, allocations: 1.073 MB / 311.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.1783, allocations: 1.287 MB / 312.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.1783, allocations: 4.719 kB / 312.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00109/0.1794, allocations: 1.016 MB / 314 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1794, allocations: 14.41 kB / 314 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.1794, allocations: 29.03 kB / 314 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.1798, allocations: 148.1 kB / 314.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.1802, allocations: 279.2 kB / 314.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009308/0.1811, allocations: 2.329 MB / 316.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.1816, allocations: 80.59 kB / 316.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.1816, allocations: 55.56 kB / 316.9 MB, free: 4.641 MB / 266.7 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.0002828/0.1819, allocations: 248.6 kB / 317.1 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.182, allocations: 154.4 kB / 317.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.1824, allocations: 413.4 kB / 317.7 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1824, allocations: 4 kB / 317.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1824, allocations: 4 kB / 317.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1825, allocations: 7.922 kB / 317.7 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.184, allocations: 1.87 MB / 319.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.184, allocations: 0 / 319.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1842, allocations: 95.84 kB / 319.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.1845, allocations: 128.4 kB / 319.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.1845, allocations: 12 kB / 319.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008511/0.1854, allocations: 2.283 MB / 322.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1854, allocations: 3.469 kB / 322.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.186, allocations: 0.7478 MB / 322.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.1862, allocations: 174.3 kB / 323 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.1863, allocations: 12 kB / 323 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.1866, allocations: 46.7 kB / 323.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.1866, allocations: 51.42 kB / 323.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.1867, allocations: 16 kB / 323.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004575/0.1871, allocations: 0.603 MB / 323.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 4 kB / 323.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009039/0.188, allocations: 347.9 kB / 324.1 MB, free: 13.58 MB / 282.7 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.0003173/0.1884, allocations: 186.8 kB / 324.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.1891, allocations: 0.7292 MB / 325 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1891, allocations: 192 / 325 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.1894, allocations: 393.6 kB / 325.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.1901, allocations: 266.2 kB / 325.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.1933, allocations: 2.777 MB / 328.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.1937, allocations: 0.5247 MB / 328.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.194, allocations: 158.7 kB / 329.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.1945, allocations: 362 kB / 329.4 MB, free: 8.102 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1945, allocations: 0 / 329.4 MB, free: 8.102 MB / 282.7 MB Notification: Performance of Templates: time 0.02152/0.216, allocations: 16.79 MB / 346.2 MB, free: 7.676 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0122209512628615]