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.0008618/0.0008618, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008187/0.0008187, allocations: 142.2 kB / 24.89 MB, free: 8.785 MB / 18.57 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 0.8582/0.8582, allocations: 173.4 MB / 201.5 MB, free: 8.234 MB / 186.7 MB " [Timeout remaining time 179] 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 1.233e-06/1.233e-06, allocations: 0 / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.177e-05, allocations: 3.031 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01816/0.01817, allocations: 26.51 MB / 295 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.02856, allocations: 7.567 MB / 302.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.03023, allocations: 314.4 kB / 302.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.04206, allocations: 14.01 MB / 316.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.04623, allocations: 2.845 MB / 319.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.04875, allocations: 1.884 MB / 321.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.06105, allocations: 18.95 MB / 340.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2134/0.2744, allocations: 29.02 MB / 369.6 MB, free: 12 MB / 314.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.2858, allocations: 15.36 MB / 384.9 MB, free: 5.504 MB / 314.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009142/0.2949, allocations: 11.55 MB / 396.5 MB, free: 15.02 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003076/0.298, allocations: 2.918 MB / 399.4 MB, free: 12.11 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.3008, allocations: 3.171 MB / 402.6 MB, free: 8.969 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.3039, allocations: 5.678 MB / 408.2 MB, free: 4.293 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005247/0.3091, allocations: 7.338 MB / 415.6 MB, free: 13.64 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.3219, allocations: 18.31 MB / 433.9 MB, free: 12.46 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3219, allocations: 0 / 433.9 MB, free: 12.46 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3219, allocations: 0.5625 kB / 433.9 MB, free: 12.46 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0002762/0.3222, allocations: 1.281 kB / 433.9 MB, free: 12.46 MB / 362.8 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.02519/0.3474, allocations: 20.89 MB / 454.8 MB, free: 8.68 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3474, allocations: 12.03 kB / 454.8 MB, free: 8.668 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/0.3677, allocations: 8.608 MB / 463.4 MB, free: 340 kB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009156/0.3769, allocations: 5.963 MB / 469.4 MB, free: 10.76 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000659/0.3775, allocations: 1.341 MB / 470.7 MB, free: 9.426 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.3795, allocations: 1.763 MB / 472.5 MB, free: 7.676 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.3961, allocations: 14.4 MB / 486.9 MB, free: 9.926 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/0.3963, allocations: 14.64 kB / 486.9 MB, free: 9.914 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.3975, allocations: 0.7248 MB / 487.6 MB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005152/0.398, allocations: 0.8415 MB / 488.4 MB, free: 8.355 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.4082, allocations: 6.926 MB / 495.4 MB, free: 1.41 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2415/0.6497, allocations: 53.39 MB / 0.5359 GB, free: 72.05 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006913/0.6566, allocations: 6.613 MB / 0.5424 GB, free: 70.29 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.6589, allocations: 2.096 MB / 0.5444 GB, free: 69.98 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.6591, allocations: 155.7 kB / 0.5446 GB, free: 69.97 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.6592, allocations: 93.95 kB / 0.5446 GB, free: 69.88 MB / 410.9 MB Notification: Performance of pre-optimization done (n=577): time 6.993e-06/0.6592, allocations: 0 / 0.5446 GB, free: 69.88 MB / 410.9 MB Notification: Performance of matching and sorting (n=577): time 0.0118/0.671, allocations: 6.596 MB / 0.5511 GB, free: 65.77 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.671, allocations: 141.1 kB / 0.5512 GB, free: 65.62 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/0.6746, allocations: 4.161 MB / 0.5553 GB, free: 62.54 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.6749, allocations: 117.7 kB / 0.5554 GB, free: 62.41 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/0.6768, allocations: 7.337 MB / 0.5626 GB, free: 56.6 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009732/0.6778, allocations: 2.084 MB / 0.5646 GB, free: 54.79 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.6793, allocations: 1.912 MB / 0.5665 GB, free: 53.07 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 2.526e-05/0.6793, allocations: 305.1 kB / 0.5668 GB, free: 52.77 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.6807, allocations: 1.448 MB / 0.5682 GB, free: 51.32 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.6828, allocations: 5.714 MB / 0.5737 GB, free: 43.7 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004813/0.6876, allocations: 8.099 MB / 0.5817 GB, free: 34.23 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.575e-05/0.6877, allocations: 44 kB / 0.5817 GB, free: 34.19 MB / 410.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.006913/0.6946, allocations: 6.711 MB / 0.5883 GB, free: 28.49 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.6946, allocations: 80.03 kB / 0.5883 GB, free: 28.41 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.91e-05/0.6947, allocations: 156 kB / 0.5885 GB, free: 28.26 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.6975, allocations: 1.517 MB / 0.59 GB, free: 26.75 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003844/0.7014, allocations: 2.167 MB / 0.5921 GB, free: 24.76 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.7061, allocations: 5.507 MB / 0.5975 GB, free: 19.36 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/0.7104, allocations: 1.191 MB / 0.5986 GB, free: 18.16 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/0.7113, allocations: 444 kB / 0.599 GB, free: 17.73 MB / 410.9 MB 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.003072/0.7143, allocations: 0.8355 MB / 0.5999 GB, free: 17.06 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/0.7151, allocations: 0.5295 MB / 0.6004 GB, free: 16.53 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.7193, allocations: 4.434 MB / 0.6047 GB, free: 12.34 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002256/0.7215, allocations: 2.168 MB / 0.6068 GB, free: 10.17 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.7215, allocations: 12 kB / 0.6068 GB, free: 10.16 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.7215, allocations: 27.89 kB / 0.6069 GB, free: 10.13 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.7384, allocations: 12.87 MB / 0.6194 GB, free: 15.03 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.7384, allocations: 8 kB / 0.6194 GB, free: 15.02 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/0.7404, allocations: 0.836 MB / 0.6203 GB, free: 14.23 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002887/0.7432, allocations: 1.31 MB / 0.6215 GB, free: 12.94 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004373/0.7437, allocations: 116 kB / 0.6216 GB, free: 12.82 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/0.7495, allocations: 5.187 MB / 0.6267 GB, free: 7.684 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7495, allocations: 11.75 kB / 0.6267 GB, free: 7.676 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006153/0.7556, allocations: 4.517 MB / 0.6311 GB, free: 2.984 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.7573, allocations: 0.8298 MB / 0.6319 GB, free: 2.156 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006262/0.758, allocations: 112 kB / 0.632 GB, free: 2.047 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7592, allocations: 152 kB / 0.6322 GB, free: 1.898 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/0.7598, allocations: 404 kB / 0.6326 GB, free: 1.5 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/0.76, allocations: 120 kB / 0.6327 GB, free: 1.383 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.002217/0.7622, allocations: 1.834 MB / 0.6345 GB, free: 15.8 MB / 442.9 MB Notification: Performance of sort global known variables: time 6e-08/0.7622, allocations: 0 / 0.6345 GB, free: 15.8 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.007887/0.7701, allocations: 4.113 MB / 0.6385 GB, free: 11.68 MB / 442.9 MB 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.0009059/0.771, allocations: 322.7 kB / 0.6388 GB, free: 11.43 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.006967/0.778, allocations: 5.108 MB / 0.6438 GB, free: 6.852 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0002573/0.7782, allocations: 120.2 kB / 0.6439 GB, free: 6.727 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.7809, allocations: 2.185 MB / 0.646 GB, free: 4.691 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/0.7849, allocations: 1.467 MB / 0.6475 GB, free: 3.262 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1487/0.9336, allocations: 24.34 MB / 0.6712 GB, free: 111.5 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005169/0.9388, allocations: 3.355 MB / 0.6745 GB, free: 111 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.003967/0.9428, allocations: 1.113 MB / 0.6756 GB, free: 110.9 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003028/0.9458, allocations: 1.362 MB / 0.6769 GB, free: 110.8 MB / 442.9 MB Notification: Performance of SimCode: time 1.864e-06/0.9458, allocations: 0 / 0.6769 GB, free: 110.8 MB / 442.9 MB Notification: Performance of Templates: time 0.1313/1.077, allocations: 98.51 MB / 0.7731 GB, free: 29.38 MB / 442.9 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",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.292572993319482]