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.002397/0.002397, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002433/0.002433, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.656/1.656, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.1..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.1..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 43.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.457, allocations: 53.38 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007971/0.465, allocations: 5.318 MB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004619/0.4696, allocations: 2.029 MB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.4703, allocations: 47.69 kB / 439.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.4714, allocations: 389.4 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.4731, allocations: 0.5827 MB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.4736, allocations: 231.7 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.4762, allocations: 2.225 MB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.4779, allocations: 1.166 MB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.4802, allocations: 1.079 MB / 445.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.4821, allocations: 1.238 MB / 446.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.4825, allocations: 288 kB / 446.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007501/0.4832, allocations: 375.9 kB / 447.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.4839, allocations: 0.7168 MB / 448 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.4852, allocations: 0.9921 MB / 449 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00432/0.4895, allocations: 3.823 MB / 452.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4895, allocations: 0 / 452.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4895, allocations: 0 / 452.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.4896, allocations: 0 / 452.8 MB, free: 2.09 MB / 350.1 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.005001/0.4946, allocations: 2.365 MB / 455.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4946, allocations: 16.03 kB / 455.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.4956, allocations: 283.5 kB / 455.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.4984, allocations: 1.319 MB / 456.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4985, allocations: 139.4 kB / 456.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.4988, allocations: 175.9 kB / 457.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/0.5034, allocations: 2.748 MB / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5034, allocations: 0 / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.5036, allocations: 76 kB / 459.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.5037, allocations: 99.58 kB / 460 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.5075, allocations: 2.106 MB / 462.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.5192, allocations: 6.327 MB / 468.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.5205, allocations: 0.7138 MB / 469.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.5212, allocations: 438.6 kB / 469.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.5214, allocations: 44.41 kB / 469.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.5215, allocations: 39 kB / 469.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.126e-06/0.5215, allocations: 0 / 469.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004354/0.5258, allocations: 2.121 MB / 471.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.5259, allocations: 89.53 kB / 471.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.5279, allocations: 1.352 MB / 473.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.5279, allocations: 37.7 kB / 473.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007895/0.5287, allocations: 1.021 MB / 474.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.5289, allocations: 206.4 kB / 474.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.5293, allocations: 242.7 kB / 474.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.5295, allocations: 361.9 kB / 475.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.5302, allocations: 458.3 kB / 475.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.5315, allocations: 1.119 MB / 476.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.5336, allocations: 1.623 MB / 478.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.5336, allocations: 8 kB / 478.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002957/0.5365, allocations: 1.668 MB / 479.9 MB, free: 5.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.5366, allocations: 16 kB / 480 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.5366, allocations: 24.06 kB / 480 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008141/0.5374, allocations: 180.6 kB / 480.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.5383, allocations: 279.5 kB / 480.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.5408, allocations: 2.215 MB / 482.7 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5418, allocations: 91.75 kB / 482.7 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.5419, allocations: 68 kB / 482.8 MB, free: 2.836 MB / 382.1 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.001142/0.5431, allocations: 0.704 MB / 483.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.5434, allocations: 123.2 kB / 483.6 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.5448, allocations: 0.8321 MB / 484.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5449, allocations: 4 kB / 484.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5449, allocations: 4 kB / 484.5 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5449, allocations: 3.984 kB / 484.5 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.5487, allocations: 2.076 MB / 486.6 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.5487, allocations: 7.938 kB / 486.6 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.5491, allocations: 100.2 kB / 486.7 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007117/0.5498, allocations: 152.6 kB / 486.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.5498, allocations: 15.98 kB / 486.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.5521, allocations: 2.161 MB / 489 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5521, allocations: 12 kB / 489 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.5542, allocations: 1.305 MB / 490.3 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.5547, allocations: 195.2 kB / 490.5 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5548, allocations: 15.98 kB / 490.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.5554, allocations: 47.91 kB / 490.6 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5555, allocations: 47.92 kB / 490.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.5556, allocations: 20.05 kB / 490.6 MB, free: 10.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001308/0.5569, allocations: 0.8993 MB / 491.5 MB, free: 9.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5569, allocations: 0 / 491.5 MB, free: 9.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001351/0.5582, allocations: 347.9 kB / 491.9 MB, free: 9.523 MB / 398.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.0004748/0.5587, allocations: 197.1 kB / 492.1 MB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.5606, allocations: 1.117 MB / 493.2 MB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5606, allocations: 0 / 493.2 MB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.5614, allocations: 0.4957 MB / 493.7 MB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.5627, allocations: 271.2 kB / 493.9 MB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.5682, allocations: 3.233 MB / 497.2 MB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.5695, allocations: 1.131 MB / 498.3 MB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008034/0.5703, allocations: 297.8 kB / 498.6 MB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.5705, allocations: 87.36 kB / 498.7 MB, free: 2.578 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5705, allocations: 0 / 498.7 MB, free: 2.578 MB / 398.1 MB Notification: Performance of Templates: time 0.03221/0.6027, allocations: 18.38 MB / 0.5049 GB, free: 0.5273 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.82221913599642]