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.001916/0.001916, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002367/0.002367, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001607/0.001607, allocations: 47.92 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09551, allocations: 53.34 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2057/0.3012, allocations: 7.806 MB / 434.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.3065, allocations: 2.725 MB / 437.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.3079, allocations: 88.59 kB / 437.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3093, allocations: 0.5892 MB / 438 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.3116, allocations: 0.7565 MB / 438.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3127, allocations: 420.2 kB / 439.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003875/0.3166, allocations: 3.288 MB / 442.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.3199, allocations: 2.66 MB / 445.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.3237, allocations: 1.711 MB / 446.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/0.328, allocations: 2.072 MB / 448.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.3292, allocations: 461.5 kB / 449.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3312, allocations: 0.6746 MB / 450 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.3324, allocations: 1.25 MB / 451.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003265/0.3357, allocations: 1.968 MB / 453.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.3452, allocations: 6.131 MB / 459.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3452, allocations: 0 / 459.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3452, allocations: 3.938 kB / 459.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002198/0.3454, allocations: 1.281 kB / 459.4 MB, free: 11.02 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.01208/0.3575, allocations: 3.889 MB / 463.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3575, allocations: 13.78 kB / 463.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.3595, allocations: 442.7 kB / 463.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/0.3645, allocations: 2.197 MB / 465.9 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.3647, allocations: 224.3 kB / 466.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006699/0.3654, allocations: 284.6 kB / 466.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.3767, allocations: 4.186 MB / 470.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.688e-05/0.3768, allocations: 1.094 kB / 470.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000889/0.3777, allocations: 121.2 kB / 470.7 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/0.3779, allocations: 141.5 kB / 470.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008775/0.3867, allocations: 3.487 MB / 474.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02604/0.4127, allocations: 10.8 MB / 485.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.4162, allocations: 2.553 MB / 487.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/0.419, allocations: 1.415 MB / 489.1 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.4193, allocations: 126.1 kB / 489.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.4194, allocations: 51.67 kB / 489.3 MB, free: 1.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.599e-06/0.4194, allocations: 3.938 kB / 489.3 MB, free: 1.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01116/0.4305, allocations: 5.2 MB / 494.5 MB, free: 12.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.4306, allocations: 94.42 kB / 494.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.4347, allocations: 1.918 MB / 496.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.4349, allocations: 45.7 kB / 496.6 MB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.4362, allocations: 1.361 MB / 497.9 MB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006555/0.4369, allocations: 479.9 kB / 498.4 MB, free: 8.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/0.4375, allocations: 267.5 kB / 498.6 MB, free: 8.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4377, allocations: 305.1 kB / 498.9 MB, free: 7.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4392, allocations: 0.8198 MB / 499.8 MB, free: 6.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.441, allocations: 1.178 MB / 0.4892 GB, free: 5.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.4444, allocations: 2.086 MB / 0.4912 GB, free: 3.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.4444, allocations: 4 kB / 0.4912 GB, free: 3.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005015/0.4494, allocations: 2.531 MB / 0.4937 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.4495, allocations: 8 kB / 0.4937 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.4495, allocations: 9.078 kB / 0.4937 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.4515, allocations: 479.1 kB / 0.4942 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.453, allocations: 331.5 kB / 0.4945 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006299/0.4593, allocations: 4.401 MB / 0.4988 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.461, allocations: 83.92 kB / 0.4989 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.4612, allocations: 59.98 kB / 0.4989 GB, free: 11.32 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.002091/0.4633, allocations: 1.055 MB / 0.5 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/0.464, allocations: 198.7 kB / 0.5002 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.4685, allocations: 2.145 MB / 0.5023 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/0.4685, allocations: 16 kB / 0.5023 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.4685, allocations: 7.984 kB / 0.5023 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4686, allocations: 3.984 kB / 0.5023 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.4792, allocations: 5.162 MB / 0.5073 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.4793, allocations: 7.984 kB / 0.5073 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4803, allocations: 227.9 kB / 0.5075 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.4823, allocations: 456.2 kB / 0.508 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.4824, allocations: 39.97 kB / 0.508 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/0.4884, allocations: 4.297 MB / 0.5122 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.4884, allocations: 4.031 kB / 0.5122 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.4946, allocations: 3.256 MB / 0.5154 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.4959, allocations: 463.7 kB / 0.5158 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005612/0.4965, allocations: 35.98 kB / 0.5159 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.4978, allocations: 91.91 kB / 0.516 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.4981, allocations: 100.9 kB / 0.5161 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.4982, allocations: 43.97 kB / 0.5161 GB, free: 9.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002564/0.5008, allocations: 1.338 MB / 0.5174 GB, free: 8.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5008, allocations: 4 kB / 0.5174 GB, free: 8.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00236/0.5031, allocations: 0.5507 MB / 0.518 GB, free: 7.531 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.0006473/0.5038, allocations: 229.9 kB / 0.5182 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.5078, allocations: 2.118 MB / 0.5202 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.5078, allocations: 7.938 kB / 0.5202 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.51, allocations: 1.16 MB / 0.5214 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/0.5132, allocations: 0.4998 MB / 0.5219 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.5252, allocations: 5.787 MB / 0.5275 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/0.5284, allocations: 2.428 MB / 0.5299 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001765/0.5302, allocations: 0.4915 MB / 0.5304 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.5308, allocations: 135.4 kB / 0.5305 GB, free: 10.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5308, allocations: 0 / 0.5305 GB, free: 10.58 MB / 446.1 MB Notification: Performance of Templates: time 0.05852/0.5893, allocations: 31.07 MB / 0.5608 GB, free: 11.78 MB / 478.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 5.709192916750908]