Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 103.5 kB / 20.44 MB, free: 1.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 188.6 kB / 23.7 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.242, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03032/0.2724, allocations: 24.49 MB / 447.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.2896, allocations: 6.966 MB / 454.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007573/0.2972, allocations: 314.4 kB / 454.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02976/0.327, allocations: 12.2 MB / 467 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.3379, allocations: 2.746 MB / 469.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007237/0.3451, allocations: 1.862 MB / 471.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02608/0.3712, allocations: 18.35 MB / 490 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05849/0.4297, allocations: 28.11 MB / 0.506 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01832/0.448, allocations: 10.17 MB / 0.5159 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02002/0.468, allocations: 10.83 MB / 0.5265 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007645/0.4757, allocations: 2.918 MB / 0.5293 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.4889, allocations: 3.16 MB / 0.5324 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4197/0.9086, allocations: 5.485 MB / 0.5378 GB, free: 44.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02033/0.9289, allocations: 8.374 MB / 0.546 GB, free: 43.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03737/0.9663, allocations: 39.25 MB / 0.5843 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.9663, allocations: 0 / 0.5843 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.9663, allocations: 0 / 0.5843 GB, free: 27.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001029/0.9673, allocations: 0 / 0.5843 GB, free: 27.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05927/1.027, allocations: 22.22 MB / 0.606 GB, free: 13.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.027, allocations: 10.31 kB / 0.606 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04346/1.07, allocations: 8.416 MB / 0.6142 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02495/1.095, allocations: 11.87 MB / 0.6258 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001525/1.097, allocations: 1.337 MB / 0.6271 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008321/1.105, allocations: 1.753 MB / 0.6288 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08055/1.185, allocations: 28.97 MB / 0.6571 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000655/1.186, allocations: 15.95 kB / 0.6571 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005371/1.191, allocations: 0.7262 MB / 0.6578 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009556/1.192, allocations: 0.8454 MB / 0.6587 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05964/1.252, allocations: 24.71 MB / 0.6828 GB, free: 76 kB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4255/1.678, allocations: 76.06 MB / 0.7571 GB, free: 149.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.696, allocations: 12.74 MB / 0.7695 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006905/1.703, allocations: 5.03 MB / 0.7744 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/1.704, allocations: 108.9 kB / 0.7745 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/1.704, allocations: 92.58 kB / 0.7746 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.218e-06/1.704, allocations: 0 / 0.7746 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02948/1.733, allocations: 14.63 MB / 0.7889 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/1.733, allocations: 141.1 kB / 0.789 GB, free: 148.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007913/1.741, allocations: 6.5 MB / 0.7954 GB, free: 147.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004797/1.742, allocations: 117.9 kB / 0.7955 GB, free: 147.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.745, allocations: 7.892 MB / 0.8032 GB, free: 143.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001423/1.746, allocations: 2.111 MB / 0.8053 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.749, allocations: 2.101 MB / 0.8073 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/1.749, allocations: 301.1 kB / 0.8076 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005432/1.754, allocations: 4.736 MB / 0.8122 GB, free: 139 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007645/1.762, allocations: 9.49 MB / 0.8215 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/1.778, allocations: 15.31 MB / 0.8365 GB, free: 116.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002506/1.778, allocations: 48 kB / 0.8365 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02346/1.801, allocations: 15.36 MB / 0.8515 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.801, allocations: 72 kB / 0.8516 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/1.802, allocations: 160 kB / 0.8517 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004909/1.807, allocations: 1.657 MB / 0.8533 GB, free: 99.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007627/1.814, allocations: 2.347 MB / 0.8556 GB, free: 96.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.827, allocations: 11.24 MB / 0.8666 GB, free: 85.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007979/1.835, allocations: 1.358 MB / 0.8679 GB, free: 84.15 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/1.837, allocations: 0.5282 MB / 0.8685 GB, free: 83.62 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01128/1.848, allocations: 7.149 MB / 0.8754 GB, free: 76.46 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.849, allocations: 0.6325 MB / 0.8761 GB, free: 75.82 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.862, allocations: 10.07 MB / 0.8859 GB, free: 65.63 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008907/1.871, allocations: 7.726 MB / 0.8934 GB, free: 57.82 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.871, allocations: 19.94 kB / 0.8935 GB, free: 57.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/1.871, allocations: 31.88 kB / 0.8935 GB, free: 57.77 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/1.904, allocations: 21.71 MB / 0.9147 GB, free: 35.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/1.904, allocations: 8 kB / 0.9147 GB, free: 35.94 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00351/1.908, allocations: 1.014 MB / 0.9157 GB, free: 34.93 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004435/1.912, allocations: 1.453 MB / 0.9171 GB, free: 33.46 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003787/1.913, allocations: 132 kB / 0.9172 GB, free: 33.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/1.924, allocations: 10.79 MB / 0.9278 GB, free: 22.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.924, allocations: 11.94 kB / 0.9278 GB, free: 22.44 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.94, allocations: 14.08 MB / 0.9415 GB, free: 8.004 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/1.943, allocations: 1.412 MB / 0.9429 GB, free: 6.586 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009887/1.944, allocations: 115.9 kB / 0.943 GB, free: 6.473 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/1.947, allocations: 319.7 kB / 0.9433 GB, free: 6.16 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/1.947, allocations: 416.2 kB / 0.9437 GB, free: 5.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/1.948, allocations: 168 kB / 0.9439 GB, free: 5.586 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006411/1.954, allocations: 4.164 MB / 0.948 GB, free: 1.449 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.9e-07/1.954, allocations: 0 / 0.948 GB, free: 1.449 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01258/1.967, allocations: 4.095 MB / 0.952 GB, free: 13.34 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/1.969, allocations: 337.9 kB / 0.9523 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02148/1.99, allocations: 10.92 MB / 0.9629 GB, free: 2.047 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/1.99, allocations: 4 kB / 0.9629 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2228/2.213, allocations: 4.327 MB / 0.9672 GB, free: 184.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008007/2.221, allocations: 1.456 MB / 0.9686 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05272/2.274, allocations: 29.95 MB / 0.9978 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01804/2.292, allocations: 10.94 MB / 1.009 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01/2.302, allocations: 3.849 MB / 1.012 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/2.303, allocations: 0.5072 MB / 1.013 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of SimCode: time 9.22e-07/2.303, allocations: 0 / 1.013 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.1592/2.463, allocations: 105.9 MB / 1.116 GB, free: 67.81 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 9.730839733034372]