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.0008807/0.0008807, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.00193, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001127/0.001127, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002296, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9883/0.9883, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07613/1.064, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.283e-06/1.283e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.477e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01859/0.01861, allocations: 26.75 MB / 271.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1461, allocations: 7.671 MB / 279.4 MB, free: 412 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005336/0.1515, allocations: 315.4 kB / 279.7 MB, free: 412 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01453/0.166, allocations: 13.95 MB / 293.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009236/0.1752, allocations: 2.663 MB / 296.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.1798, allocations: 2.036 MB / 298.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.1962, allocations: 19.24 MB / 317.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03864/0.2349, allocations: 28.43 MB / 346.1 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0238/0.2587, allocations: 15.7 MB / 361.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01425/0.2729, allocations: 11.32 MB / 373.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006234/0.2791, allocations: 2.918 MB / 376 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008647/0.2878, allocations: 3.211 MB / 379.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007566/0.2954, allocations: 4.48 MB / 383.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01634/0.3117, allocations: 6.123 MB / 389.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02456/0.3362, allocations: 17.4 MB / 407.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.007e-05/0.3363, allocations: 3.984 kB / 407.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3363, allocations: 3.938 kB / 407.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008727/0.3371, allocations: 0 / 407.2 MB, free: 6.48 MB / 378.7 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.2689/0.6061, allocations: 24.37 MB / 431.6 MB, free: 94.68 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6061, allocations: 10.06 kB / 431.6 MB, free: 94.68 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02673/0.6328, allocations: 8.53 MB / 440.1 MB, free: 94.65 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.6458, allocations: 5.989 MB / 446.1 MB, free: 93.35 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009388/0.6467, allocations: 1.338 MB / 447.5 MB, free: 93.31 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004814/0.6516, allocations: 1.77 MB / 449.2 MB, free: 93.07 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.6809, allocations: 14.44 MB / 463.7 MB, free: 87.97 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/0.6813, allocations: 13.2 kB / 463.7 MB, free: 87.96 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003527/0.6848, allocations: 0.7314 MB / 464.4 MB, free: 87.39 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/0.6853, allocations: 0.8412 MB / 465.3 MB, free: 86.73 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.7019, allocations: 6.949 MB / 472.2 MB, free: 79.76 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08382/0.7857, allocations: 53.74 MB / 0.5136 GB, free: 27.71 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007041/0.7927, allocations: 6.657 MB / 0.5201 GB, free: 21.18 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.7951, allocations: 2.1 MB / 0.5222 GB, free: 19.14 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.7953, allocations: 176.4 kB / 0.5223 GB, free: 18.96 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.7954, allocations: 91.08 kB / 0.5224 GB, free: 18.86 MB / 394.8 MB Notification: Performance of pre-optimization done (n=577): time 7.635e-06/0.7954, allocations: 4 kB / 0.5224 GB, free: 18.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=577): time 0.01251/0.8079, allocations: 6.64 MB / 0.5289 GB, free: 12.23 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.808, allocations: 107.9 kB / 0.529 GB, free: 12.11 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.8121, allocations: 4.157 MB / 0.5331 GB, free: 8.82 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005043/0.8126, allocations: 121.7 kB / 0.5332 GB, free: 8.695 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/0.8146, allocations: 7.331 MB / 0.5404 GB, free: 1.578 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/0.8161, allocations: 2.082 MB / 0.5424 GB, free: 15.61 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001895/0.818, allocations: 1.922 MB / 0.5443 GB, free: 13.88 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.8181, allocations: 308.7 kB / 0.5446 GB, free: 13.58 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.82, allocations: 1.456 MB / 0.546 GB, free: 12.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/0.8236, allocations: 5.726 MB / 0.5516 GB, free: 4.488 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/0.83, allocations: 8.12 MB / 0.5595 GB, free: 10.97 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.962e-05/0.8301, allocations: 48 kB / 0.5596 GB, free: 10.92 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.007696/0.8378, allocations: 6.734 MB / 0.5661 GB, free: 5.203 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.8378, allocations: 72 kB / 0.5662 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.838, allocations: 160.6 kB / 0.5664 GB, free: 4.977 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.8409, allocations: 1.524 MB / 0.5678 GB, free: 3.465 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/0.8453, allocations: 2.47 MB / 0.5703 GB, free: 1.059 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.8511, allocations: 5.562 MB / 0.5757 GB, free: 11.53 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.8553, allocations: 1.183 MB / 0.5768 GB, free: 10.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005844/0.8559, allocations: 452 kB / 0.5773 GB, free: 9.895 MB / 442.8 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.003223/0.8591, allocations: 0.836 MB / 0.5781 GB, free: 9.043 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008171/0.86, allocations: 0.5229 MB / 0.5786 GB, free: 8.52 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/0.8651, allocations: 4.413 MB / 0.5829 GB, free: 4.309 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002635/0.8678, allocations: 2.178 MB / 0.585 GB, free: 2.082 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.8678, allocations: 13.09 kB / 0.585 GB, free: 2.07 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/0.8678, allocations: 31.88 kB / 0.5851 GB, free: 2.039 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1616/1.029, allocations: 12.9 MB / 0.5977 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.029, allocations: 13 kB / 0.5977 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/1.032, allocations: 0.9893 MB / 0.5987 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.034, allocations: 0.8436 MB / 0.5995 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/1.036, allocations: 1.331 MB / 0.6008 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.037, allocations: 123 kB / 0.6009 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/1.041, allocations: 5.159 MB / 0.6059 GB, free: 116.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.041, allocations: 10.41 kB / 0.6059 GB, free: 116.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/1.047, allocations: 4.542 MB / 0.6104 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008984/1.047, allocations: 106.8 kB / 0.6105 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.049, allocations: 146.2 kB / 0.6106 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004627/1.049, allocations: 415.3 kB / 0.611 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.05, allocations: 128.2 kB / 0.6111 GB, free: 115.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001991/1.052, allocations: 1.829 MB / 0.6129 GB, free: 115.6 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.052, allocations: 0 / 0.6129 GB, free: 115.6 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007155/1.059, allocations: 4.11 MB / 0.6169 GB, free: 114.9 MB / 442.8 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.000754/1.059, allocations: 308.4 kB / 0.6172 GB, free: 114.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005975/1.065, allocations: 5.129 MB / 0.6222 GB, free: 114.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003139/1.066, allocations: 176.8 kB / 0.6224 GB, free: 114.2 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.068, allocations: 2.188 MB / 0.6245 GB, free: 113.9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.072, allocations: 1.964 MB / 0.6265 GB, free: 113.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08859/1.16, allocations: 26.2 MB / 0.6521 GB, free: 94.11 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/1.165, allocations: 3.483 MB / 0.6555 GB, free: 91.76 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003459/1.168, allocations: 1.124 MB / 0.6566 GB, free: 90.88 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.171, allocations: 1.391 MB / 0.6579 GB, free: 89.63 MB / 442.8 MB Notification: Performance of SimCode: time 2.124e-06/1.171, allocations: 0 / 0.6579 GB, free: 89.63 MB / 442.8 MB Notification: Performance of Templates: time 0.2496/1.42, allocations: 103.4 MB / 0.7588 GB, free: 122.6 MB / 442.8 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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: 5.707602271810174]