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.001395/0.001395, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001026/0.001026, allocations: 166.6 kB / 24.91 MB, free: 9.18 MB / 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 0.9866/0.9866, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.689e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004931/0.004948, allocations: 5.827 MB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.007637, allocations: 2.176 MB / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.007916, allocations: 51.69 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.008554, allocations: 413.2 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007786/0.009333, allocations: 0.5977 MB / 282.5 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.009589, allocations: 243.5 kB / 282.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.0109, allocations: 2.338 MB / 285.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000885/0.01178, allocations: 1.166 MB / 286.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.01341, allocations: 1.624 MB / 287.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009422/0.01436, allocations: 1.208 MB / 289.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.01457, allocations: 292 kB / 289.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.01493, allocations: 367.9 kB / 289.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.0153, allocations: 0.7596 MB / 290.5 MB, free: 24 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1103/0.1256, allocations: 0.8743 MB / 291.3 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.1277, allocations: 2.046 MB / 293.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1277, allocations: 1.375 kB / 293.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1277, allocations: 0 / 293.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.544e-05/0.1278, allocations: 0 / 293.4 MB, free: 17.92 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.002994/0.1308, allocations: 2.247 MB / 295.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1308, allocations: 15.64 kB / 295.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007758/0.1316, allocations: 363.4 kB / 296 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1327, allocations: 0.8185 MB / 296.8 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.1327, allocations: 130.8 kB / 296.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.1329, allocations: 183.6 kB / 297.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.1346, allocations: 1.498 MB / 298.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.1347, allocations: 3.531 kB / 298.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.1348, allocations: 75.81 kB / 298.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-05/0.1349, allocations: 107.1 kB / 298.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.1358, allocations: 0.5118 MB / 299.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004879/0.1407, allocations: 4.817 MB / 304.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.1412, allocations: 377.5 kB / 304.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1414, allocations: 163.8 kB / 304.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.1415, allocations: 35.47 kB / 304.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1416, allocations: 40.25 kB / 304.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.1416, allocations: 0 / 304.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001301/0.1429, allocations: 0.8979 MB / 305.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.1429, allocations: 81.95 kB / 305.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.1434, allocations: 0.9339 MB / 306.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1435, allocations: 37.23 kB / 306.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.1437, allocations: 0.9123 MB / 307.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.1437, allocations: 202.1 kB / 307.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1439, allocations: 234 kB / 308 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.144, allocations: 356.6 kB / 308.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1441, allocations: 130.9 kB / 308.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1444, allocations: 0.7822 MB / 309.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.1449, allocations: 1.027 MB / 310.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1449, allocations: 3.812 kB / 310.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0007726/0.1457, allocations: 0.8567 MB / 311.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1457, allocations: 11.97 kB / 311.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.1457, allocations: 27.03 kB / 311.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.1461, allocations: 148.4 kB / 311.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.1466, allocations: 320.8 kB / 311.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.1474, allocations: 1.756 MB / 313.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.1478, allocations: 88.02 kB / 313.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.1478, allocations: 59.28 kB / 313.6 MB, free: 8.172 MB / 266.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.0002093/0.148, allocations: 208 kB / 313.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1481, allocations: 103.2 kB / 313.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.1485, allocations: 363.5 kB / 314.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1485, allocations: 10.62 kB / 314.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1485, allocations: 3.156 kB / 314.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1485, allocations: 0 / 314.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.1498, allocations: 1.476 MB / 315.7 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1498, allocations: 0 / 315.7 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.15, allocations: 122.6 kB / 315.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/0.1503, allocations: 116.3 kB / 315.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1503, allocations: 19.94 kB / 316 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007341/0.1511, allocations: 1.775 MB / 317.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1511, allocations: 6.844 kB / 317.7 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.1515, allocations: 0.6286 MB / 318.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.1517, allocations: 123.2 kB / 318.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.1517, allocations: 16.19 kB / 318.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.152, allocations: 39.97 kB / 318.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.152, allocations: 51.8 kB / 318.6 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1521, allocations: 16.03 kB / 318.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003167/0.1524, allocations: 441.6 kB / 319 MB, free: 3.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1524, allocations: 0 / 319 MB, free: 3.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006767/0.1531, allocations: 351.9 kB / 319.4 MB, free: 2.758 MB / 266.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.0002833/0.1533, allocations: 179.7 kB / 319.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.1539, allocations: 0.6452 MB / 320.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-05/0.1539, allocations: 17.81 kB / 320.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.1541, allocations: 302.4 kB / 320.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.1548, allocations: 276.4 kB / 320.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1576, allocations: 2.747 MB / 323.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.158, allocations: 433.4 kB / 324 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.1583, allocations: 166.1 kB / 324.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.1588, allocations: 313.1 kB / 324.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1588, allocations: 2.953 kB / 324.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of Templates: time 0.02199/0.1808, allocations: 16.85 MB / 341.3 MB, free: 13.12 MB / 298.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9963958989828825]