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.001318/0.001318, allocations: 100.7 kB / 20.47 MB, free: 1.129 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.001418/0.001418, allocations: 190.9 kB / 23.76 MB, free: 4.336 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.47/1.47, allocations: 225.7 MB / 252.6 MB, free: 12.79 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.001596/0.001596, allocations: 48.06 kB / 371 MB, free: 9.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2333, allocations: 52.18 MB / 423.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03028/0.2636, allocations: 24.51 MB / 447.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.28, allocations: 6.969 MB / 454.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005839/0.2858, allocations: 314.4 kB / 455 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03039/0.3162, allocations: 12.2 MB / 467.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.3276, allocations: 2.749 MB / 469.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006455/0.3341, allocations: 1.858 MB / 471.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02566/0.3598, allocations: 18.36 MB / 490.1 MB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05616/0.4159, allocations: 28.1 MB / 0.5061 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01629/0.4322, allocations: 10.17 MB / 0.516 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01831/0.4505, allocations: 10.83 MB / 0.5266 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007263/0.4578, allocations: 2.918 MB / 0.5294 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008806/0.4666, allocations: 3.156 MB / 0.5325 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4357/0.9023, allocations: 5.482 MB / 0.5379 GB, free: 44.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02208/0.9243, allocations: 8.374 MB / 0.5461 GB, free: 43.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03658/0.9609, allocations: 39.26 MB / 0.5844 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9609, allocations: 0 / 0.5844 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9609, allocations: 0 / 0.5844 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001139/0.9621, allocations: 1.844 kB / 0.5844 GB, free: 27.23 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.06401/1.026, allocations: 22.23 MB / 0.6061 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.026, allocations: 10.03 kB / 0.6061 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04256/1.069, allocations: 8.408 MB / 0.6143 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02463/1.093, allocations: 11.87 MB / 0.6259 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001586/1.095, allocations: 1.344 MB / 0.6272 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008053/1.103, allocations: 1.751 MB / 0.6289 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08053/1.183, allocations: 28.97 MB / 0.6572 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006305/1.184, allocations: 11.95 kB / 0.6572 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005848/1.19, allocations: 0.7319 MB / 0.658 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001011/1.191, allocations: 0.8472 MB / 0.6588 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06378/1.255, allocations: 24.71 MB / 0.6829 GB, free: 0 / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4025/1.657, allocations: 76.1 MB / 0.7572 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01921/1.676, allocations: 12.75 MB / 0.7697 GB, free: 149.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007707/1.684, allocations: 5.014 MB / 0.7746 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005451/1.685, allocations: 116.2 kB / 0.7747 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/1.685, allocations: 93.52 kB / 0.7748 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.022e-05/1.685, allocations: 0 / 0.7748 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03217/1.717, allocations: 14.63 MB / 0.7891 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.717, allocations: 142.1 kB / 0.7892 GB, free: 148.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009641/1.727, allocations: 6.495 MB / 0.7956 GB, free: 148 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/1.728, allocations: 117.3 kB / 0.7957 GB, free: 147.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003837/1.732, allocations: 7.893 MB / 0.8034 GB, free: 143.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003114/1.735, allocations: 2.108 MB / 0.8054 GB, free: 142 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003261/1.738, allocations: 2.103 MB / 0.8075 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/1.738, allocations: 308.7 kB / 0.8078 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006003/1.744, allocations: 4.729 MB / 0.8124 GB, free: 139 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00822/1.752, allocations: 9.495 MB / 0.8217 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.768, allocations: 15.3 MB / 0.8366 GB, free: 116.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/1.768, allocations: 47.94 kB / 0.8367 GB, free: 116.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02552/1.794, allocations: 15.36 MB / 0.8517 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/1.794, allocations: 72 kB / 0.8517 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002451/1.794, allocations: 164.3 kB / 0.8519 GB, free: 100.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/1.799, allocations: 1.657 MB / 0.8535 GB, free: 99 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007591/1.807, allocations: 2.355 MB / 0.8558 GB, free: 96.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.82, allocations: 11.25 MB / 0.8668 GB, free: 85.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009145/1.829, allocations: 1.354 MB / 0.8681 GB, free: 83.95 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/1.831, allocations: 0.5273 MB / 0.8686 GB, free: 83.42 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.01199/1.843, allocations: 7.141 MB / 0.8756 GB, free: 76.26 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/1.845, allocations: 0.6286 MB / 0.8762 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.862, allocations: 10.07 MB / 0.886 GB, free: 65.44 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01035/1.872, allocations: 7.73 MB / 0.8936 GB, free: 57.62 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/1.872, allocations: 19.92 kB / 0.8936 GB, free: 57.61 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/1.872, allocations: 35.89 kB / 0.8936 GB, free: 57.57 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04206/1.914, allocations: 21.71 MB / 0.9148 GB, free: 35.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.914, allocations: 8 kB / 0.9149 GB, free: 35.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003942/1.918, allocations: 1.006 MB / 0.9158 GB, free: 34.73 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004747/1.923, allocations: 1.458 MB / 0.9173 GB, free: 33.26 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000909/1.924, allocations: 128 kB / 0.9174 GB, free: 33.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.936, allocations: 10.8 MB / 0.9279 GB, free: 22.25 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.936, allocations: 11.94 kB / 0.9279 GB, free: 22.23 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.953, allocations: 14.08 MB / 0.9417 GB, free: 7.805 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003407/1.956, allocations: 1.416 MB / 0.9431 GB, free: 6.383 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.957, allocations: 115.9 kB / 0.9432 GB, free: 6.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/1.961, allocations: 323.6 kB / 0.9435 GB, free: 5.953 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007624/1.961, allocations: 412.3 kB / 0.9439 GB, free: 5.547 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/1.962, allocations: 168 kB / 0.944 GB, free: 5.383 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006558/1.968, allocations: 4.164 MB / 0.9481 GB, free: 1.246 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.2e-07/1.968, allocations: 0 / 0.9481 GB, free: 1.246 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01293/1.981, allocations: 4.102 MB / 0.9521 GB, free: 13.12 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.00144/1.983, allocations: 330.2 kB / 0.9524 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02133/2.004, allocations: 10.93 MB / 0.9631 GB, free: 1.836 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.004, allocations: 4 kB / 0.9631 GB, free: 1.832 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2297/2.234, allocations: 4.32 MB / 0.9673 GB, free: 185.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007028/2.241, allocations: 1.453 MB / 0.9687 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/2.289, allocations: 29.94 MB / 0.998 GB, free: 177 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01369/2.302, allocations: 10.93 MB / 1.009 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008496/2.311, allocations: 3.853 MB / 1.012 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/2.312, allocations: 0.5087 MB / 1.013 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.192e-06/2.312, allocations: 3.938 kB / 1.013 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1372/2.45, allocations: 90.04 MB / 1.101 GB, free: 83.51 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.63881285302341]