Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001212/0.001212, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001377/0.001377, allocations: 172.7 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 158.6 MB / 187.2 MB, free: 2.496 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.795e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005598/0.005626, allocations: 5.833 MB / 256.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.008775, allocations: 2.104 MB / 259 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.009218, allocations: 39.69 kB / 259 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.01003, allocations: 393.3 kB / 259.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.01106, allocations: 0.5977 MB / 260 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.01138, allocations: 243.7 kB / 260.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.0132, allocations: 2.369 MB / 262.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009657/0.01417, allocations: 1.036 MB / 263.6 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.01602, allocations: 1.6 MB / 265.2 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.01723, allocations: 1.177 MB / 266.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.01755, allocations: 291.9 kB / 266.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.01802, allocations: 375.8 kB / 267.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.01846, allocations: 0.7363 MB / 267.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007481/0.0192, allocations: 0.8654 MB / 268.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.02096, allocations: 2.025 MB / 270.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.02097, allocations: 0 / 270.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.02097, allocations: 0 / 270.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.021, allocations: 0 / 270.7 MB, free: 15.83 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.002592/0.02359, allocations: 2.522 MB / 273.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.02363, allocations: 11.98 kB / 273.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.02423, allocations: 419.4 kB / 273.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.02542, allocations: 1.076 MB / 274.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.02549, allocations: 131.9 kB / 274.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.02567, allocations: 180.3 kB / 275 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.02763, allocations: 1.575 MB / 276.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.02766, allocations: 3.984 kB / 276.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.02777, allocations: 75.98 kB / 276.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-05/0.02787, allocations: 95.58 kB / 276.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.02899, allocations: 0.6105 MB / 277.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.03475, allocations: 5.97 MB / 283.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.03534, allocations: 397.8 kB / 283.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.03562, allocations: 217.7 kB / 284 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.03576, allocations: 44.41 kB / 284 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.03579, allocations: 45.88 kB / 284 MB, free: 2.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 5.671e-06/0.0358, allocations: 0 / 284 MB, free: 2.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001772/0.03757, allocations: 1.266 MB / 285.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.03761, allocations: 85.61 kB / 285.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.03863, allocations: 1.179 MB / 286.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.03865, allocations: 33.7 kB / 286.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.03919, allocations: 1.098 MB / 287.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.0393, allocations: 218.3 kB / 287.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.03953, allocations: 260.4 kB / 288.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.03969, allocations: 0.5472 MB / 288.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.03991, allocations: 130.5 kB / 288.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.04055, allocations: 1.105 MB / 290 MB, free: 11.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.04149, allocations: 1.321 MB / 291.3 MB, free: 9.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.0415, allocations: 4 kB / 291.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001273/0.04277, allocations: 1.083 MB / 292.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.0428, allocations: 19.94 kB / 292.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.04282, allocations: 23.94 kB / 292.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.04323, allocations: 160 kB / 292.6 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.04369, allocations: 283.5 kB / 292.8 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.04506, allocations: 2.36 MB / 295.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.04548, allocations: 83.84 kB / 295.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.04554, allocations: 72 kB / 295.3 MB, free: 5.645 MB / 282.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.0002526/0.0458, allocations: 252 kB / 295.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.04594, allocations: 147.1 kB / 295.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.04648, allocations: 448.6 kB / 296.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.04648, allocations: 4 kB / 296.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.04648, allocations: 4 kB / 296.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.04649, allocations: 3.984 kB / 296.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.0485, allocations: 1.904 MB / 298.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.04851, allocations: 4 kB / 298.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.04869, allocations: 91.89 kB / 298.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003235/0.04901, allocations: 131.8 kB / 298.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.04904, allocations: 15.94 kB / 298.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.05043, allocations: 2.325 MB / 300.7 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.05044, allocations: 4 kB / 300.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1127/0.1631, allocations: 0.7815 MB / 301.4 MB, free: 50 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/0.1635, allocations: 178.7 kB / 301.6 MB, free: 50 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1636, allocations: 19.72 kB / 301.6 MB, free: 50 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.164, allocations: 47.53 kB / 301.7 MB, free: 50 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.1641, allocations: 51.83 kB / 301.7 MB, free: 50 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.1641, allocations: 19.91 kB / 301.8 MB, free: 50 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008096/0.1649, allocations: 0.6445 MB / 302.4 MB, free: 49.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1649, allocations: 0 / 302.4 MB, free: 49.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001172/0.1661, allocations: 356.4 kB / 302.7 MB, free: 49.85 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.0004027/0.1665, allocations: 179.5 kB / 302.9 MB, free: 49.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1677, allocations: 0.7744 MB / 303.7 MB, free: 49.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1677, allocations: 1.094 kB / 303.7 MB, free: 49.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.168, allocations: 394.1 kB / 304.1 MB, free: 49.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.1688, allocations: 273.9 kB / 304.3 MB, free: 49.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.1727, allocations: 2.792 MB / 307.1 MB, free: 48.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.1732, allocations: 0.5221 MB / 307.7 MB, free: 48.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005251/0.1737, allocations: 252.5 kB / 307.9 MB, free: 48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.1739, allocations: 85.3 kB / 308 MB, free: 47.98 MB / 282.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1739, allocations: 0 / 308 MB, free: 47.98 MB / 282.7 MB Notification: Performance of Templates: time 0.01956/0.1935, allocations: 15.65 MB / 323.6 MB, free: 38.72 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.488889266271144]