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.001362/0.001362, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002098/0.002098, allocations: 158.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.491/1.491, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 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.823e-06/1.823e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.728e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007866/0.007893, allocations: 5.347 MB / 330.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.0126, allocations: 2.039 MB / 332.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.0133, allocations: 53.59 kB / 332.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.01438, allocations: 391.4 kB / 332.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.01611, allocations: 0.6098 MB / 333.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.01665, allocations: 236.4 kB / 333.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.01966, allocations: 2.327 MB / 336 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.02136, allocations: 1.128 MB / 337.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.02453, allocations: 1.59 MB / 338.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.02627, allocations: 1.101 MB / 339.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.02667, allocations: 288 kB / 340.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.0274, allocations: 375.8 kB / 340.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007477/0.02815, allocations: 0.7479 MB / 341.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.02934, allocations: 0.8576 MB / 342.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.0338, allocations: 3.864 MB / 345.9 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.03381, allocations: 0 / 345.9 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.03381, allocations: 4 kB / 345.9 MB, free: 60 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.597e-05/0.03386, allocations: 4 kB / 346 MB, free: 56 kB / 302.1 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.00509/0.03895, allocations: 2.361 MB / 348.3 MB, free: 13.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.039, allocations: 15.98 kB / 348.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.03996, allocations: 287.5 kB / 348.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.04235, allocations: 1.318 MB / 349.9 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.04246, allocations: 135.9 kB / 350.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.04275, allocations: 176.4 kB / 350.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.04729, allocations: 2.773 MB / 353 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.04732, allocations: 3.938 kB / 353 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.04751, allocations: 79.97 kB / 353.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.04763, allocations: 103.6 kB / 353.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.05136, allocations: 2.13 MB / 355.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.06238, allocations: 6.372 MB / 361.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.0637, allocations: 0.7108 MB / 362.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.06447, allocations: 450.8 kB / 362.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.06467, allocations: 36.47 kB / 362.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.06471, allocations: 47 kB / 362.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.745e-06/0.06471, allocations: 0 / 362.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004581/0.0693, allocations: 2.125 MB / 365 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.06937, allocations: 85.59 kB / 365.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.07152, allocations: 1.368 MB / 366.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.07157, allocations: 33.7 kB / 366.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/0.07246, allocations: 1.033 MB / 367.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.07265, allocations: 202.4 kB / 367.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.07303, allocations: 242.8 kB / 368 MB, free: 9.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.07325, allocations: 365.8 kB / 368.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.07406, allocations: 458.3 kB / 368.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.07544, allocations: 1.133 MB / 369.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.07763, allocations: 1.641 MB / 371.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.07764, allocations: 8 kB / 371.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00313/0.08077, allocations: 1.689 MB / 373.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.08081, allocations: 16 kB / 373.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.08083, allocations: 20.56 kB / 373.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/0.08169, allocations: 180.7 kB / 373.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.08268, allocations: 283.5 kB / 373.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.08539, allocations: 2.223 MB / 376 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.0864, allocations: 91.81 kB / 376.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.0865, allocations: 64 kB / 376.1 MB, free: 0.6016 MB / 334.1 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.001127/0.08763, allocations: 0.7118 MB / 376.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.08785, allocations: 127.2 kB / 377 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.08944, allocations: 0.8258 MB / 377.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.08945, allocations: 8 kB / 377.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.08945, allocations: 0 / 377.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.08946, allocations: 7.969 kB / 377.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.09316, allocations: 2.092 MB / 379.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.09317, allocations: 4 kB / 379.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.09357, allocations: 100.2 kB / 380 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006897/0.09426, allocations: 152.6 kB / 380.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.0943, allocations: 12 kB / 380.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.09673, allocations: 2.157 MB / 382.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.09674, allocations: 4.031 kB / 382.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.0988, allocations: 1.295 MB / 383.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.09924, allocations: 199.3 kB / 383.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.09938, allocations: 19.94 kB / 383.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.09997, allocations: 43.97 kB / 383.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.1001, allocations: 52.03 kB / 383.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.1002, allocations: 20 kB / 384 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.1015, allocations: 0.9111 MB / 384.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1015, allocations: 0 / 384.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001391/0.1029, allocations: 351.9 kB / 385.2 MB, free: 7.27 MB / 350.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.0004876/0.1034, allocations: 189 kB / 385.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.1055, allocations: 1.134 MB / 386.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1055, allocations: 0 / 386.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.1063, allocations: 0.4919 MB / 387 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.1077, allocations: 272.3 kB / 387.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.1132, allocations: 3.197 MB / 390.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.1146, allocations: 1.139 MB / 391.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008394/0.1154, allocations: 297.9 kB / 391.9 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.1156, allocations: 84.48 kB / 392 MB, free: 352 kB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1156, allocations: 0 / 392 MB, free: 352 kB / 350.1 MB Notification: Performance of Templates: time 0.03141/0.147, allocations: 15.65 MB / 407.6 MB, free: 0.9453 MB / 366.1 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: 5.017212945967913]