Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.0009764/0.0009764, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001032/0.001032, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.8843/0.8843, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.728e-05, allocations: 2.312 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02437/0.0244, allocations: 26.51 MB / 300.6 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.03696, allocations: 7.157 MB / 307.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.0399, allocations: 310.4 kB / 308.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.05265, allocations: 13.62 MB / 321.7 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008211/0.06086, allocations: 2.678 MB / 324.4 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.06516, allocations: 2.039 MB / 326.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.2734/0.3386, allocations: 19.1 MB / 345.5 MB, free: 15.68 MB / 314.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03301/0.3716, allocations: 28.21 MB / 373.7 MB, free: 8.879 MB / 314.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01836/0.39, allocations: 15.28 MB / 389 MB, free: 1.902 MB / 314.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01833/0.4083, allocations: 11.64 MB / 400.7 MB, free: 9.891 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007343/0.4156, allocations: 2.918 MB / 403.6 MB, free: 6.973 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009217/0.4249, allocations: 3.2 MB / 406.8 MB, free: 3.816 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008841/0.4337, allocations: 5.684 MB / 412.5 MB, free: 14.82 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01511/0.4488, allocations: 7.332 MB / 419.8 MB, free: 7.828 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02596/0.4748, allocations: 18.34 MB / 438.1 MB, free: 6.625 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4748, allocations: 0 / 438.1 MB, free: 6.625 MB / 362.8 MB Notification: Performance of FrontEnd: time 9.31e-07/0.4748, allocations: 0 / 438.1 MB, free: 6.625 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0006291/0.4754, allocations: 0.9688 kB / 438.1 MB, free: 6.625 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.03996/0.5154, allocations: 22.55 MB / 460.7 MB, free: 0.9844 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5154, allocations: 8.031 kB / 460.7 MB, free: 0.9766 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02594/0.5413, allocations: 8.3 MB / 469 MB, free: 8.762 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01623/0.5576, allocations: 10.31 MB / 479.3 MB, free: 14.88 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009693/0.5585, allocations: 1.34 MB / 480.7 MB, free: 13.54 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003782/0.5623, allocations: 1.758 MB / 482.4 MB, free: 11.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2862/0.8485, allocations: 14.06 MB / 496.5 MB, free: 84.63 MB / 410.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/0.8489, allocations: 17.69 kB / 496.5 MB, free: 84.63 MB / 410.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/0.8505, allocations: 0.7312 MB / 497.2 MB, free: 84.63 MB / 410.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006398/0.8511, allocations: 0.8431 MB / 498.1 MB, free: 84.59 MB / 410.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.8636, allocations: 5.742 MB / 0.492 GB, free: 84.16 MB / 410.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06754/0.9312, allocations: 70.35 MB / 0.5607 GB, free: 49.06 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009868/0.941, allocations: 8.957 MB / 0.5694 GB, free: 42.27 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003172/0.9442, allocations: 2.318 MB / 0.5717 GB, free: 40 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.9445, allocations: 188.1 kB / 0.5719 GB, free: 39.82 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.9446, allocations: 101 kB / 0.572 GB, free: 39.71 MB / 410.9 MB Notification: Performance of pre-optimization done (n=577): time 9.137e-06/0.9446, allocations: 4 kB / 0.572 GB, free: 39.7 MB / 410.9 MB Notification: Performance of matching and sorting (n=577): time 0.01781/0.9624, allocations: 7.785 MB / 0.5796 GB, free: 31.89 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.9625, allocations: 133.6 kB / 0.5797 GB, free: 31.73 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006375/0.9688, allocations: 6.223 MB / 0.5858 GB, free: 26.57 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.9691, allocations: 117.7 kB / 0.5859 GB, free: 26.45 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003512/0.9726, allocations: 8.408 MB / 0.5941 GB, free: 19.29 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.9737, allocations: 2.194 MB / 0.5963 GB, free: 17.21 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/0.9764, allocations: 2.476 MB / 0.5987 GB, free: 14.92 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.9764, allocations: 484.7 kB / 0.5991 GB, free: 14.45 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.978, allocations: 1.066 MB / 0.6002 GB, free: 13.38 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/0.982, allocations: 8.338 MB / 0.6083 GB, free: 2.293 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008787/0.9908, allocations: 10.54 MB / 0.6186 GB, free: 5.535 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.603e-05/0.9909, allocations: 48 kB / 0.6187 GB, free: 5.488 MB / 426.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01046/1.001, allocations: 8.195 MB / 0.6267 GB, free: 14.29 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/1.001, allocations: 72 kB / 0.6267 GB, free: 14.21 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/1.002, allocations: 164 kB / 0.6269 GB, free: 14.05 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/1.005, allocations: 1.574 MB / 0.6284 GB, free: 12.49 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/1.009, allocations: 2.199 MB / 0.6306 GB, free: 10.47 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/1.015, allocations: 6.936 MB / 0.6373 GB, free: 3.633 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004448/1.02, allocations: 1.175 MB / 0.6385 GB, free: 2.449 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005572/1.02, allocations: 471.3 kB / 0.6389 GB, free: 1.992 MB / 442.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.003302/1.024, allocations: 0.8874 MB / 0.6398 GB, free: 1.273 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009081/1.025, allocations: 0.8084 MB / 0.6406 GB, free: 472 kB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1447/1.169, allocations: 5.435 MB / 0.6459 GB, free: 96.98 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00357/1.173, allocations: 2.935 MB / 0.6488 GB, free: 96.71 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.173, allocations: 13.28 kB / 0.6488 GB, free: 96.71 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/1.173, allocations: 31.22 kB / 0.6488 GB, free: 96.71 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/1.196, allocations: 17.41 MB / 0.6658 GB, free: 95.39 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.196, allocations: 9.562 kB / 0.6658 GB, free: 95.39 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.198, allocations: 0.8597 MB / 0.6667 GB, free: 95.39 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/1.201, allocations: 1.377 MB / 0.668 GB, free: 95.32 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/1.201, allocations: 141.7 kB / 0.6681 GB, free: 95.32 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006013/1.207, allocations: 6.571 MB / 0.6746 GB, free: 93.28 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.207, allocations: 15.38 kB / 0.6746 GB, free: 93.28 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006535/1.214, allocations: 5.642 MB / 0.6801 GB, free: 91.91 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.215, allocations: 1.166 MB / 0.6812 GB, free: 91.55 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/1.216, allocations: 106.1 kB / 0.6813 GB, free: 91.55 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.217, allocations: 149 kB / 0.6815 GB, free: 91.55 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004407/1.218, allocations: 426.8 kB / 0.6819 GB, free: 91.54 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.218, allocations: 136.4 kB / 0.682 GB, free: 91.54 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.002323/1.22, allocations: 2.431 MB / 0.6844 GB, free: 91.31 MB / 442.9 MB Notification: Performance of sort global known variables: time 1.81e-07/1.22, allocations: 0 / 0.6844 GB, free: 91.31 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.007223/1.227, allocations: 4.11 MB / 0.6884 GB, free: 90.7 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.0005584/1.228, allocations: 322.4 kB / 0.6887 GB, free: 90.61 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.006265/1.234, allocations: 6.016 MB / 0.6946 GB, free: 86.91 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.234, allocations: 8.125 kB / 0.6946 GB, free: 86.9 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.236, allocations: 2.53 MB / 0.6971 GB, free: 85.2 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.24, allocations: 1.488 MB / 0.6985 GB, free: 84.39 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.266, allocations: 24.42 MB / 0.7224 GB, free: 64.61 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003409/1.27, allocations: 4.9 MB / 0.7271 GB, free: 60.53 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.002865/1.273, allocations: 1.117 MB / 0.7282 GB, free: 59.4 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.275, allocations: 1.537 MB / 0.7297 GB, free: 57.86 MB / 442.9 MB Notification: Performance of SimCode: time 1.092e-06/1.275, allocations: 0 / 0.7297 GB, free: 57.86 MB / 442.9 MB Notification: Performance of Templates: time 0.266/1.541, allocations: 100.3 MB / 0.8277 GB, free: 114.3 MB / 458.9 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 6.526244000997394]