Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001689/0.001689, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001536/0.001536, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.05 MB / 206.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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.03 kB / 373.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.1007, allocations: 53.32 MB / 427.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2092/0.31, allocations: 7.851 MB / 435 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.3139, allocations: 2.728 MB / 437.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007011/0.3146, allocations: 69.56 kB / 437.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.3157, allocations: 0.5909 MB / 438.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.3172, allocations: 0.7739 MB / 439.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.3179, allocations: 419.2 kB / 439.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.3207, allocations: 3.309 MB / 442.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.3234, allocations: 2.663 MB / 445.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.3262, allocations: 1.676 MB / 447.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.3288, allocations: 2.088 MB / 449.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006301/0.3294, allocations: 461.8 kB / 449.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3306, allocations: 0.6716 MB / 450.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.3316, allocations: 1.263 MB / 451.7 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.3343, allocations: 1.972 MB / 453.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007139/0.3415, allocations: 6.154 MB / 459.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3415, allocations: 1.781 kB / 459.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3415, allocations: 0 / 459.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001174/0.3416, allocations: 0 / 459.8 MB, free: 11.14 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.008375/0.35, allocations: 3.901 MB / 463.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.35, allocations: 9.031 kB / 463.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.3515, allocations: 451.8 kB / 464.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.3554, allocations: 2.184 MB / 466.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.3556, allocations: 225.9 kB / 466.6 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.3561, allocations: 284.8 kB / 466.9 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/0.3637, allocations: 4.225 MB / 471.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.3637, allocations: 0 / 471.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/0.364, allocations: 118.1 kB / 471.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/0.3642, allocations: 152.1 kB / 471.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006767/0.371, allocations: 3.513 MB / 474.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01891/0.3899, allocations: 11.14 MB / 486 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.393, allocations: 2.567 MB / 488.6 MB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.3956, allocations: 1.415 MB / 490 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.3958, allocations: 127.2 kB / 490.1 MB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3959, allocations: 43.56 kB / 490.2 MB, free: 1.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.386e-06/0.3959, allocations: 0 / 490.2 MB, free: 1.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009739/0.4056, allocations: 5.204 MB / 495.4 MB, free: 11.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.4057, allocations: 94.41 kB / 495.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/0.4085, allocations: 1.918 MB / 497.4 MB, free: 9.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.4086, allocations: 53.69 kB / 497.4 MB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.4097, allocations: 1.365 MB / 498.8 MB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.4101, allocations: 483.9 kB / 499.3 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/0.4106, allocations: 271.5 kB / 499.5 MB, free: 7.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4108, allocations: 305.1 kB / 499.8 MB, free: 7.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.4121, allocations: 0.8159 MB / 0.4889 GB, free: 6.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4138, allocations: 1.186 MB / 0.4901 GB, free: 5.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.4168, allocations: 2.086 MB / 0.4921 GB, free: 2.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4168, allocations: 4 kB / 0.4921 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004412/0.4212, allocations: 2.52 MB / 0.4946 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4212, allocations: 12 kB / 0.4946 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4212, allocations: 8 kB / 0.4946 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.4231, allocations: 487 kB / 0.495 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4245, allocations: 332.5 kB / 0.4954 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.4304, allocations: 4.393 MB / 0.4996 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4318, allocations: 87.88 kB / 0.4997 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4319, allocations: 63.97 kB / 0.4998 GB, free: 10.95 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.001909/0.4338, allocations: 1.059 MB / 0.5008 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/0.4343, allocations: 198.8 kB / 0.501 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.4382, allocations: 2.137 MB / 0.5031 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-05/0.4382, allocations: 19.98 kB / 0.5031 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.4383, allocations: 4 kB / 0.5031 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4383, allocations: 3.984 kB / 0.5031 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/0.4472, allocations: 5.175 MB / 0.5082 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.4472, allocations: 0 / 0.5082 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.4482, allocations: 235.9 kB / 0.5084 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.45, allocations: 460.3 kB / 0.5088 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.4501, allocations: 27.98 kB / 0.5089 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/0.4559, allocations: 4.306 MB / 0.5131 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4559, allocations: 0 / 0.5131 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/0.4617, allocations: 3.268 MB / 0.5163 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.4629, allocations: 459.8 kB / 0.5167 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.4632, allocations: 24 kB / 0.5167 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4643, allocations: 95.89 kB / 0.5168 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.4646, allocations: 96.88 kB / 0.5169 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.4647, allocations: 39.98 kB / 0.517 GB, free: 9.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002277/0.467, allocations: 1.342 MB / 0.5183 GB, free: 7.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.467, allocations: 0 / 0.5183 GB, free: 7.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002118/0.4691, allocations: 0.5623 MB / 0.5188 GB, free: 7.152 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.0006124/0.4697, allocations: 225.6 kB / 0.519 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.4736, allocations: 2.126 MB / 0.5211 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.4736, allocations: 7.938 kB / 0.5211 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.4757, allocations: 1.156 MB / 0.5222 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/0.4783, allocations: 0.5035 MB / 0.5227 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.4892, allocations: 5.824 MB / 0.5284 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/0.4917, allocations: 2.432 MB / 0.5308 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001523/0.4932, allocations: 499.4 kB / 0.5313 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.4937, allocations: 131.4 kB / 0.5314 GB, free: 10.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4937, allocations: 0 / 0.5314 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Templates: time 0.05629/0.5499, allocations: 31.09 MB / 0.5618 GB, free: 11.31 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.581642574630678]