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.001376/0.001376, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001477/0.001477, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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 1.473e-06/1.473e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.886e-05, allocations: 6.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008233/0.008262, allocations: 5.351 MB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.01278, allocations: 2.044 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009383/0.01372, allocations: 51.62 kB / 279.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.01509, allocations: 397.4 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.01731, allocations: 0.6055 MB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.01789, allocations: 239.5 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.02081, allocations: 2.329 MB / 283.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.02251, allocations: 1.131 MB / 284.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.02571, allocations: 1.616 MB / 286 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.02777, allocations: 1.091 MB / 287 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.02829, allocations: 288 kB / 287.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.02909, allocations: 379.8 kB / 287.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007847/0.02987, allocations: 0.744 MB / 288.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.03116, allocations: 0.8615 MB / 289.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1265/0.1577, allocations: 3.862 MB / 293.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1577, allocations: 3.906 kB / 293.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1577, allocations: 0.875 kB / 293.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.201e-05/0.1578, allocations: 0 / 293.2 MB, free: 19.16 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.00469/0.1625, allocations: 2.356 MB / 295.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1625, allocations: 13.77 kB / 295.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.1637, allocations: 444.9 kB / 296 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.1657, allocations: 1.373 MB / 297.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.1658, allocations: 133.1 kB / 297.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.1661, allocations: 177.5 kB / 297.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/0.17, allocations: 2.78 MB / 300.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.1701, allocations: 1.812 kB / 300.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.1703, allocations: 74.22 kB / 300.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.1704, allocations: 103 kB / 300.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/0.1735, allocations: 2.13 MB / 302.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008916/0.1824, allocations: 6.515 MB / 309.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009931/0.1834, allocations: 0.7029 MB / 310 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.184, allocations: 444.9 kB / 310.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.1842, allocations: 39.7 kB / 310.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1842, allocations: 46.55 kB / 310.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.165e-06/0.1842, allocations: 0 / 310.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.00348/0.1877, allocations: 2.155 MB / 312.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1877, allocations: 85.61 kB / 312.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.1892, allocations: 1.368 MB / 314.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.1892, allocations: 33.7 kB / 314.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.1896, allocations: 1.033 MB / 315.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.1897, allocations: 203 kB / 315.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.19, allocations: 234.8 kB / 315.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.19, allocations: 365.9 kB / 315.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.1906, allocations: 458.3 kB / 316.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.1913, allocations: 1.135 MB / 317.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.1926, allocations: 1.641 MB / 319.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.1926, allocations: 8 kB / 319.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002123/0.1947, allocations: 1.763 MB / 320.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1948, allocations: 12.62 kB / 320.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.1948, allocations: 27.72 kB / 321 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007657/0.1955, allocations: 188.7 kB / 321.1 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.1963, allocations: 284.1 kB / 321.4 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.1991, allocations: 2.226 MB / 323.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/0.2001, allocations: 87.81 kB / 323.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.2002, allocations: 68 kB / 323.8 MB, free: 13.58 MB / 282.7 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.001235/0.2014, allocations: 0.7128 MB / 324.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.2017, allocations: 155.1 kB / 324.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.2034, allocations: 0.8254 MB / 325.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2034, allocations: 4 kB / 325.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2034, allocations: 0 / 325.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2034, allocations: 0 / 325.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/0.2076, allocations: 2.103 MB / 327.6 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2076, allocations: 0 / 327.6 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.208, allocations: 103.2 kB / 327.7 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008176/0.2088, allocations: 148.7 kB / 327.8 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.2089, allocations: 31.3 kB / 327.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.2115, allocations: 2.155 MB / 330 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.2115, allocations: 11.95 kB / 330 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.2138, allocations: 1.317 MB / 331.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.2143, allocations: 195.2 kB / 331.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.2145, allocations: 16 kB / 331.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.215, allocations: 48.03 kB / 331.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.2152, allocations: 51.78 kB / 331.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.2152, allocations: 20 kB / 331.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.2167, allocations: 0.9034 MB / 332.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2167, allocations: 0 / 332.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00155/0.2183, allocations: 351.9 kB / 332.9 MB, free: 4.293 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.0004982/0.2188, allocations: 195.9 kB / 333.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.2209, allocations: 1.134 MB / 334.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2209, allocations: 0 / 334.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009107/0.2218, allocations: 0.504 MB / 334.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.2232, allocations: 268.5 kB / 335 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.2293, allocations: 3.253 MB / 338.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.2308, allocations: 1.132 MB / 339.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009049/0.2317, allocations: 309.9 kB / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.2319, allocations: 84.48 kB / 339.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2319, allocations: 0 / 339.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of Templates: time 0.03271/0.2646, allocations: 15.74 MB / 355.5 MB, free: 13.91 MB / 314.7 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: 4.954826968954876]