Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001548/0.001548, 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.001661/0.001661, allocations: 216.4 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.694/1.694, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4021, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01244/0.4146, allocations: 6.912 MB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008414/0.423, allocations: 2.609 MB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/0.4259, allocations: 87.38 kB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.4285, allocations: 0.5858 MB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.4327, allocations: 0.7692 MB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.4347, allocations: 423.4 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006882/0.4415, allocations: 3.28 MB / 447 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.4448, allocations: 2.007 MB / 449 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.4491, allocations: 1.713 MB / 450.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004744/0.4539, allocations: 2.079 MB / 452.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.455, allocations: 460 kB / 453.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.457, allocations: 0.6637 MB / 453.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001612/0.4586, allocations: 1.266 MB / 455.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002713/0.4613, allocations: 1.583 MB / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007461/0.4688, allocations: 6.15 MB / 462.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4688, allocations: 0 / 462.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4688, allocations: 3.938 kB / 462.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001667/0.469, allocations: 4 kB / 462.9 MB, free: 7.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009518/0.4785, allocations: 3.817 MB / 466.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4785, allocations: 12.03 kB / 466.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.48, allocations: 442.5 kB / 467.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.4847, allocations: 2.123 MB / 469.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.4849, allocations: 229.8 kB / 469.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005915/0.4855, allocations: 280 kB / 469.8 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008309/0.4938, allocations: 4.438 MB / 474.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.4939, allocations: 0 / 474.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.4942, allocations: 124 kB / 474.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.4944, allocations: 145.9 kB / 474.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006418/0.5008, allocations: 3.482 MB / 478 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.5207, allocations: 9.232 MB / 487.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.5233, allocations: 1.648 MB / 488.9 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.5258, allocations: 1.395 MB / 490.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.5261, allocations: 56.78 kB / 490.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.5261, allocations: 59.48 kB / 490.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.5261, allocations: 0 / 490.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01018/0.5363, allocations: 5.101 MB / 495.5 MB, free: 6.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.5364, allocations: 94.36 kB / 495.6 MB, free: 6.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.5391, allocations: 1.725 MB / 497.3 MB, free: 5.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.5392, allocations: 49.7 kB / 497.3 MB, free: 5.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.5403, allocations: 1.364 MB / 498.7 MB, free: 3.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.5408, allocations: 479.9 kB / 499.2 MB, free: 3.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/0.5412, allocations: 279.5 kB / 499.4 MB, free: 2.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5413, allocations: 305.1 kB / 499.7 MB, free: 2.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.5427, allocations: 0.8237 MB / 0.4888 GB, free: 1.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.5443, allocations: 1.196 MB / 0.49 GB, free: 496 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.5472, allocations: 2.09 MB / 0.492 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.5472, allocations: 0 / 0.492 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004376/0.5516, allocations: 2.508 MB / 0.4945 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.5517, allocations: 8 kB / 0.4945 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.5517, allocations: 12 kB / 0.4945 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.5538, allocations: 475.1 kB / 0.495 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5551, allocations: 335.5 kB / 0.4953 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.5607, allocations: 4.21 MB / 0.4994 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.5621, allocations: 87.88 kB / 0.4995 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.5622, allocations: 56 kB / 0.4995 GB, free: 6.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001843/0.5641, allocations: 1.059 MB / 0.5006 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/0.5646, allocations: 182.9 kB / 0.5007 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.5685, allocations: 2.12 MB / 0.5028 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/0.5686, allocations: 19.94 kB / 0.5028 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.5686, allocations: 8 kB / 0.5028 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.5686, allocations: 7.969 kB / 0.5028 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008467/0.577, allocations: 4.479 MB / 0.5072 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.5771, allocations: 4 kB / 0.5072 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5781, allocations: 227.7 kB / 0.5074 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.5801, allocations: 453 kB / 0.5079 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.492e-05/0.5802, allocations: 31.98 kB / 0.5079 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.5857, allocations: 4.126 MB / 0.5119 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5857, allocations: 0 / 0.5119 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.5911, allocations: 3.24 MB / 0.5151 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.5923, allocations: 366.8 kB / 0.5154 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.5926, allocations: 32.05 kB / 0.5155 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009807/0.5935, allocations: 91.91 kB / 0.5156 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.5938, allocations: 100.7 kB / 0.5157 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.5939, allocations: 43.98 kB / 0.5157 GB, free: 5.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001809/0.5957, allocations: 1.193 MB / 0.5169 GB, free: 4.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5957, allocations: 0 / 0.5169 GB, free: 4.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001767/0.5975, allocations: 0.5506 MB / 0.5174 GB, free: 3.922 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000608/0.5981, allocations: 231.9 kB / 0.5176 GB, free: 3.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.6018, allocations: 2.126 MB / 0.5197 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6018, allocations: 0 / 0.5197 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.6038, allocations: 1.164 MB / 0.5208 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.6058, allocations: 410.3 kB / 0.5212 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.6159, allocations: 5.8 MB / 0.5269 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.6181, allocations: 1.876 MB / 0.5287 GB, free: 8.203 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001431/0.6196, allocations: 461.9 kB / 0.5292 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.62, allocations: 131.3 kB / 0.5293 GB, free: 7.617 MB / 446.1 MB Notification: Performance of SimCode: time 1.793e-06/0.62, allocations: 0 / 0.5293 GB, free: 7.617 MB / 446.1 MB Notification: Performance of Templates: time 0.3435/0.9635, allocations: 31.55 MB / 0.5601 GB, free: 86.43 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 6.562426793985651]